https://launchpad.net/ubuntu/+archive/test-rebuild-20220317-jammy-gcc12/+build/23472504 RUN: /usr/share/launchpad-buildd/bin/builder-prep Kernel version: Linux riscv64-qemu-lcy01-012 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 Buildd toolchain package versions: launchpad-buildd_212~550~ubuntu20.04.1 python3-lpbuildd_212~550~ubuntu20.04.1 sbuild_0.79.0-1ubuntu1 git_1:2.25.1-1ubuntu3.2 dpkg-dev_1.19.7ubuntu3 python3-debian_0.1.36ubuntu1. Syncing the system clock with the buildd NTP service... 22 Apr 15:24:11 ntpdate[1475758]: adjust time server 10.211.37.1 offset -0.000003 sec RUN: /usr/share/launchpad-buildd/bin/in-target unpack-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 --image-type chroot /home/buildd/filecache-default/03bec7884d85d5bd8bcd177f093129b6620b2195 Creating target for build PACKAGEBUILD-23472504 RUN: /usr/share/launchpad-buildd/bin/in-target mount-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 Starting target for build PACKAGEBUILD-23472504 RUN: /usr/share/launchpad-buildd/bin/in-target override-sources-list --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 'deb http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy main' 'deb http://ftpmaster.internal/ubuntu jammy main universe' Overriding sources.list in build-PACKAGEBUILD-23472504 RUN: /usr/share/launchpad-buildd/bin/in-target add-trusted-keys --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 Adding trusted keys to build-PACKAGEBUILD-23472504 Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). OK Warning: apt-key is deprecated. Manage keyring files in trusted.gpg.d instead (see apt-key(8)). /etc/apt/trusted.gpg -------------------- pub rsa1024 2009-10-22 [SC] 60C3 1780 3A41 BA51 845E 371A 1E93 77A2 BA9E F27F uid [ unknown] Launchpad Toolchain builds /etc/apt/trusted.gpg.d/ubuntu-keyring-2012-cdimage.gpg ------------------------------------------------------ pub rsa4096 2012-05-11 [SC] 8439 38DF 228D 22F7 B374 2BC0 D94A A3F0 EFE2 1092 uid [ unknown] Ubuntu CD Image Automatic Signing Key (2012) /etc/apt/trusted.gpg.d/ubuntu-keyring-2018-archive.gpg ------------------------------------------------------ pub rsa4096 2018-09-17 [SC] F6EC B376 2474 EDA9 D21B 7022 8719 20D1 991B C93C uid [ unknown] Ubuntu Archive Automatic Signing Key (2018) RUN: /usr/share/launchpad-buildd/bin/in-target update-debian-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 Updating target for build PACKAGEBUILD-23472504 Get:1 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy InRelease [23.8 kB] Get:2 http://ftpmaster.internal/ubuntu jammy InRelease [270 kB] Get:3 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 Packages [3840 B] Get:4 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main Translation-en [5972 B] Get:5 http://ftpmaster.internal/ubuntu jammy/main riscv64 Packages [1287 kB] Get:6 http://ftpmaster.internal/ubuntu jammy/main Translation-en [510 kB] Get:7 http://ftpmaster.internal/ubuntu jammy/universe riscv64 Packages [12.9 MB] Get:8 http://ftpmaster.internal/ubuntu jammy/universe Translation-en [5652 kB] Fetched 20.7 MB in 34s (616 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: g++-11 libperl5.32 libstdc++-11-dev perl-modules-5.32 Use 'sudo apt autoremove' to remove them. The following packages will be REMOVED: libsemanage1* The following NEW packages will be installed: cpp-12 g++-12 gcc-12 gcc-12-base libasan8 libexpat1 libgcc-12-dev libmpdec3 libperl5.34 libpython3-stdlib libpython3.10-minimal libpython3.10-stdlib libsemanage2 libsepol2 libssl3 libstdc++-12-dev media-types perl-modules-5.34 python3 python3-minimal python3-psutil python3.10 python3.10-minimal The following packages will be upgraded: advancecomp apt base-files base-passwd bash binutils binutils-common binutils-riscv64-linux-gnu bsdutils build-essential bzip2 ca-certificates coreutils cpp cpp-11 dash debconf debianutils diffutils dpkg dpkg-dev e2fsprogs fakeroot findutils g++ g++-11 gcc gcc-11 gcc-11-base gpg gpg-agent gpgconf gpgv grep gzip hostname init init-system-helpers libacl1 libapparmor1 libapt-pkg6.0 libargon2-1 libasan6 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 libdb5.3 libdebconfclient0 libdevmapper1.02.1 libdpkg-perl libext2fs2 libfakeroot libffi8 libgcc-11-dev libgcc-s1 libgcrypt20 libgdbm-compat4 libgdbm6 libgmp10 libgnutls30 libgomp1 libgpg-error0 libgssapi-krb5-2 libhogweed6 libidn2-0 libip4tc2 libisl23 libjson-c5 libk5crypto3 libkeyutils1 libkmod2 libkrb5-3 libkrb5support0 liblockfile-bin liblockfile1 liblz4-1 liblzma5 libmount1 libmpc3 libmpfr6 libncurses6 libncursesw6 libnettle8 libnpth0 libnsl-dev libnsl2 libp11-kit0 libpam-modules libpam-modules-bin libpam-runtime libpam0g libpcre2-8-0 libpcre3 libpng16-16 libprocps8 libreadline8 libseccomp2 libselinux1 libsemanage-common libsmartcols1 libsqlite3-0 libss2 libstdc++-11-dev libstdc++6 libsystemd0 libtasn1-6 libtinfo6 libtirpc-common libtirpc-dev libtirpc3 libudev1 libunistring2 libuuid1 libxxhash0 libzstd1 linux-libc-dev lockfile-progs login logsave lsb-base lto-disabled-list make mawk mount ncurses-base ncurses-bin openssl optipng passwd patch perl perl-base pinentry-curses pkgbinarymangler procps readline-common rpcsvc-proto sed sensible-utils systemd systemd-sysv systemd-timesyncd sysvinit-utils tar tzdata usrmerge util-linux xz-utils zlib1g 167 upgraded, 23 newly installed, 1 to remove and 0 not upgraded. Need to get 143 MB of archives. After this operation, 229 MB of additional disk space will be used. Get:1 http://ftpmaster.internal/ubuntu jammy/main riscv64 rpcsvc-proto riscv64 1.4.2-0ubuntu6 [62.2 kB] Get:2 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 dpkg riscv64 1.21.1ubuntu11 [1212 kB] Get:3 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnsl-dev riscv64 1.3.0-2build2 [125 kB] Get:4 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcrypt-dev riscv64 1:4.4.27-1 [249 kB] Get:5 http://ftpmaster.internal/ubuntu jammy/main riscv64 libc6-dev riscv64 2.35-0ubuntu3 [3236 kB] Get:6 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 g++ riscv64 4:12-20211211-1ubuntu2 [1402 B] Get:7 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 gcc riscv64 4:12-20211211-1ubuntu2 [5138 B] Get:8 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 cpp riscv64 4:12-20211211-1ubuntu2 [27.7 kB] Get:9 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 dpkg-dev all 1.21.1ubuntu11 [926 kB] Get:10 http://ppa.launchpadcontent.net/ubuntu-toolchain-r/volatile/ubuntu jammy/main riscv64 libdpkg-perl all 1.21.1ubuntu11 [236 kB] Get:11 http://ftpmaster.internal/ubuntu jammy/main riscv64 libc-dev-bin riscv64 2.35-0ubuntu3 [18.9 kB] Get:12 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtirpc-common all 1.3.2-2build1 [7616 B] Get:13 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtirpc-dev riscv64 1.3.2-2build1 [310 kB] Get:14 http://ftpmaster.internal/ubuntu jammy/main riscv64 libssl3 riscv64 3.0.2-0ubuntu1 [1454 kB] Get:15 http://ftpmaster.internal/ubuntu jammy/main riscv64 libk5crypto3 riscv64 1.19.2-2 [102 kB] Get:16 http://ftpmaster.internal/ubuntu jammy/main riscv64 libkrb5support0 riscv64 1.19.2-2 [30.7 kB] Get:17 http://ftpmaster.internal/ubuntu jammy/main riscv64 libkrb5-3 riscv64 1.19.2-2 [337 kB] Get:18 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgssapi-krb5-2 riscv64 1.19.2-2 [127 kB] Get:19 http://ftpmaster.internal/ubuntu jammy/main riscv64 perl-modules-5.34 all 5.34.0-3ubuntu1 [2975 kB] Get:20 http://ftpmaster.internal/ubuntu jammy/main riscv64 libperl5.34 riscv64 5.34.0-3ubuntu1 [4206 kB] Get:21 http://ftpmaster.internal/ubuntu jammy/main riscv64 perl riscv64 5.34.0-3ubuntu1 [232 kB] Get:22 http://ftpmaster.internal/ubuntu jammy/main riscv64 perl-base riscv64 5.34.0-3ubuntu1 [1639 kB] Get:23 http://ftpmaster.internal/ubuntu jammy/main riscv64 bzip2 riscv64 1.0.8-5build1 [34.0 kB] Get:24 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbz2-1.0 riscv64 1.0.8-5build1 [36.3 kB] Get:25 http://ftpmaster.internal/ubuntu jammy/main riscv64 libaudit-common all 1:3.0.7-1build1 [4726 B] Get:26 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcap-ng0 riscv64 0.7.9-2.2build3 [10.3 kB] Get:27 http://ftpmaster.internal/ubuntu jammy/main riscv64 libaudit1 riscv64 1:3.0.7-1build1 [45.4 kB] Get:28 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpam0g riscv64 1.4.0-11ubuntu2 [56.2 kB] Get:29 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcrypt1 riscv64 1:4.4.27-1 [97.4 kB] Get:30 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdb5.3 riscv64 5.3.28+dfsg1-0.8ubuntu3 [667 kB] Get:31 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgdbm6 riscv64 1.23-1 [29.9 kB] Get:32 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgdbm-compat4 riscv64 1.23-1 [5860 B] Get:33 http://ftpmaster.internal/ubuntu jammy/main riscv64 zlib1g riscv64 1:1.2.11.dfsg-2ubuntu9 [55.9 kB] Get:34 http://ftpmaster.internal/ubuntu jammy/main riscv64 debconf all 1.5.79ubuntu1 [126 kB] Get:35 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcom-err2 riscv64 1.46.5-2ubuntu1 [8838 B] Get:36 http://ftpmaster.internal/ubuntu jammy/main riscv64 libkeyutils1 riscv64 1.6.1-2ubuntu3 [9204 B] Get:37 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtirpc3 riscv64 1.3.2-2build1 [74.2 kB] Get:38 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnsl2 riscv64 1.3.0-2build2 [37.5 kB] Get:39 http://ftpmaster.internal/ubuntu jammy/main riscv64 linux-libc-dev riscv64 5.15.0-25.25 [1262 kB] Get:40 http://ftpmaster.internal/ubuntu jammy/main riscv64 libc6 riscv64 2.35-0ubuntu3 [2640 kB] Get:41 http://ftpmaster.internal/ubuntu jammy/main riscv64 libc-bin riscv64 2.35-0ubuntu3 [561 kB] Get:42 http://ftpmaster.internal/ubuntu jammy/main riscv64 gcc-12-base riscv64 12-20220319-1ubuntu1 [18.9 kB] Get:43 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcc-s1 riscv64 12-20220319-1ubuntu1 [44.2 kB] Get:44 http://ftpmaster.internal/ubuntu jammy/main riscv64 base-files riscv64 12ubuntu4 [62.6 kB] Get:45 http://ftpmaster.internal/ubuntu jammy/main riscv64 debianutils riscv64 5.5-1ubuntu2 [106 kB] Get:46 http://ftpmaster.internal/ubuntu jammy/main riscv64 bash riscv64 5.1-6ubuntu1 [647 kB] Get:47 http://ftpmaster.internal/ubuntu jammy/main riscv64 bsdutils riscv64 1:2.37.2-4ubuntu3 [91.4 kB] Get:48 http://ftpmaster.internal/ubuntu jammy/main riscv64 coreutils riscv64 8.32-4.1ubuntu1 [1318 kB] Get:49 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgpg-error0 riscv64 1.43-3 [63.8 kB] Get:50 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcrypt20 riscv64 1.9.4-3ubuntu3 [498 kB] Get:51 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblz4-1 riscv64 1.9.3-2build2 [71.0 kB] Get:52 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblzma5 riscv64 5.2.5-2ubuntu1 [94.1 kB] Get:53 http://ftpmaster.internal/ubuntu jammy/main riscv64 libstdc++6 riscv64 12-20220319-1ubuntu1 [687 kB] Get:54 http://ftpmaster.internal/ubuntu jammy/main riscv64 libargon2-1 riscv64 0~20171227-0.3 [19.7 kB] Get:55 http://ftpmaster.internal/ubuntu jammy/main riscv64 libblkid1 riscv64 2.37.2-4ubuntu3 [149 kB] Get:56 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre2-8-0 riscv64 10.39-3build1 [136 kB] Get:57 http://ftpmaster.internal/ubuntu jammy/main riscv64 libselinux1 riscv64 3.3-1build2 [71.1 kB] Get:58 http://ftpmaster.internal/ubuntu jammy/main riscv64 libudev1 riscv64 249.11-0ubuntu3 [70.1 kB] Get:59 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdevmapper1.02.1 riscv64 2:1.02.175-2.1ubuntu4 [131 kB] Get:60 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjson-c5 riscv64 0.15-2build4 [28.8 kB] Get:61 http://ftpmaster.internal/ubuntu jammy/main riscv64 libuuid1 riscv64 2.37.2-4ubuntu3 [27.3 kB] Get:62 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcryptsetup12 riscv64 2:2.4.3-1ubuntu1 [184 kB] Get:63 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgmp10 riscv64 2:6.2.1+dfsg-3ubuntu1 [245 kB] Get:64 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnettle8 riscv64 3.7.3-1build2 [189 kB] Get:65 http://ftpmaster.internal/ubuntu jammy/main riscv64 libhogweed6 riscv64 3.7.3-1build2 [192 kB] Get:66 http://ftpmaster.internal/ubuntu jammy/main riscv64 libunistring2 riscv64 1.0-1 [540 kB] Get:67 http://ftpmaster.internal/ubuntu jammy/main riscv64 libidn2-0 riscv64 2.3.2-2build1 [67.4 kB] Get:68 http://ftpmaster.internal/ubuntu jammy/main riscv64 libffi8 riscv64 3.4.2-4 [20.4 kB] Get:69 http://ftpmaster.internal/ubuntu jammy/main riscv64 libp11-kit0 riscv64 0.24.0-6build1 [200 kB] Get:70 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtasn1-6 riscv64 4.18.0-4build1 [39.0 kB] Get:71 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgnutls30 riscv64 3.7.3-4ubuntu1 [870 kB] Get:72 http://ftpmaster.internal/ubuntu jammy/main riscv64 systemd-sysv riscv64 249.11-0ubuntu3 [10.5 kB] Get:73 http://ftpmaster.internal/ubuntu jammy/main riscv64 systemd-timesyncd riscv64 249.11-0ubuntu3 [28.9 kB] Get:74 http://ftpmaster.internal/ubuntu jammy/main riscv64 libacl1 riscv64 2.3.1-1 [15.3 kB] Get:75 http://ftpmaster.internal/ubuntu jammy/main riscv64 libapparmor1 riscv64 3.0.4-2ubuntu2 [34.2 kB] Get:76 http://ftpmaster.internal/ubuntu jammy/main riscv64 libip4tc2 riscv64 1.8.7-1ubuntu5 [18.2 kB] Get:77 http://ftpmaster.internal/ubuntu jammy/main riscv64 libzstd1 riscv64 1.4.8+dfsg-3build1 [370 kB] Get:78 http://ftpmaster.internal/ubuntu jammy/main riscv64 libkmod2 riscv64 29-1ubuntu1 [42.1 kB] Get:79 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmount1 riscv64 2.37.2-4ubuntu3 [157 kB] Get:80 http://ftpmaster.internal/ubuntu jammy/main riscv64 libseccomp2 riscv64 2.5.3-2ubuntu2 [45.1 kB] Get:81 http://ftpmaster.internal/ubuntu jammy/main riscv64 login riscv64 1:4.8.1-2ubuntu2 [184 kB] Get:82 http://ftpmaster.internal/ubuntu jammy/main riscv64 util-linux riscv64 2.37.2-4ubuntu3 [1124 kB] Get:83 http://ftpmaster.internal/ubuntu jammy/main riscv64 mount riscv64 2.37.2-4ubuntu3 [129 kB] Get:84 http://ftpmaster.internal/ubuntu jammy/main riscv64 systemd riscv64 249.11-0ubuntu3 [4145 kB] Get:85 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsystemd0 riscv64 249.11-0ubuntu3 [291 kB] Get:86 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxxhash0 riscv64 0.8.1-1 [31.9 kB] Get:87 http://ftpmaster.internal/ubuntu jammy/main riscv64 libapt-pkg6.0 riscv64 2.4.5 [916 kB] Get:88 http://ftpmaster.internal/ubuntu jammy/main riscv64 tar riscv64 1.34+dfsg-1build3 [274 kB] Get:89 http://ftpmaster.internal/ubuntu jammy/main riscv64 dash riscv64 0.5.11+git20210903+057cd650a4ed-3build1 [86.7 kB] Get:90 http://ftpmaster.internal/ubuntu jammy/main riscv64 diffutils riscv64 1:3.8-0ubuntu2 [164 kB] Get:91 http://ftpmaster.internal/ubuntu jammy/main riscv64 findutils riscv64 4.8.0-1ubuntu3 [328 kB] Get:92 http://ftpmaster.internal/ubuntu jammy/main riscv64 grep riscv64 3.7-1build1 [151 kB] Get:93 http://ftpmaster.internal/ubuntu jammy/main riscv64 gzip riscv64 1.10-4ubuntu4 [95.4 kB] Get:94 http://ftpmaster.internal/ubuntu jammy/main riscv64 hostname riscv64 3.23ubuntu2 [10.9 kB] Get:95 http://ftpmaster.internal/ubuntu jammy/main riscv64 libncurses6 riscv64 6.3-2 [93.6 kB] Get:96 http://ftpmaster.internal/ubuntu jammy/main riscv64 libncursesw6 riscv64 6.3-2 [128 kB] Get:97 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtinfo6 riscv64 6.3-2 [96.1 kB] Get:98 http://ftpmaster.internal/ubuntu jammy/main riscv64 ncurses-bin riscv64 6.3-2 [176 kB] Get:99 http://ftpmaster.internal/ubuntu jammy/main riscv64 sed riscv64 4.8-1ubuntu2 [187 kB] Get:100 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdebconfclient0 riscv64 0.261ubuntu1 [6560 B] Get:101 http://ftpmaster.internal/ubuntu jammy/main riscv64 base-passwd riscv64 3.5.52build1 [49.1 kB] Get:102 http://ftpmaster.internal/ubuntu jammy/main riscv64 init-system-helpers all 1.62 [38.5 kB] Get:103 http://ftpmaster.internal/ubuntu jammy/main riscv64 ncurses-base all 6.3-2 [20.1 kB] Get:104 http://ftpmaster.internal/ubuntu jammy/main riscv64 lsb-base all 11.1.0ubuntu4 [12.3 kB] Get:105 http://ftpmaster.internal/ubuntu jammy/main riscv64 sysvinit-utils riscv64 3.01-1ubuntu1 [20.8 kB] Get:106 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpgv riscv64 2.2.27-3ubuntu2 [195 kB] Get:107 http://ftpmaster.internal/ubuntu jammy/main riscv64 apt riscv64 2.4.5 [1340 kB] Get:108 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsepol2 riscv64 3.3-1build1 [254 kB] Get:109 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsemanage-common all 3.3-1build2 [9874 B] Get:110 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsemanage2 riscv64 3.3-1build2 [83.9 kB] Get:111 http://ftpmaster.internal/ubuntu jammy/main riscv64 passwd riscv64 1:4.8.1-2ubuntu2 [736 kB] Get:112 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpam-modules-bin riscv64 1.4.0-11ubuntu2 [36.9 kB] Get:113 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpam-modules riscv64 1.4.0-11ubuntu2 [264 kB] Get:114 http://ftpmaster.internal/ubuntu jammy/main riscv64 logsave riscv64 1.46.5-2ubuntu1 [10.1 kB] Get:115 http://ftpmaster.internal/ubuntu jammy/main riscv64 libext2fs2 riscv64 1.46.5-2ubuntu1 [196 kB] Get:116 http://ftpmaster.internal/ubuntu jammy/main riscv64 e2fsprogs riscv64 1.46.5-2ubuntu1 [554 kB] Get:117 http://ftpmaster.internal/ubuntu jammy/main riscv64 init riscv64 1.62 [5414 B] Get:118 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpython3.10-minimal riscv64 3.10.4-3 [793 kB] Get:119 http://ftpmaster.internal/ubuntu jammy/main riscv64 libexpat1 riscv64 2.4.7-1 [85.2 kB] Get:120 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3.10-minimal riscv64 3.10.4-3 [1817 kB] Get:121 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3-minimal riscv64 3.10.4-0ubuntu2 [24.4 kB] Get:122 http://ftpmaster.internal/ubuntu jammy/main riscv64 media-types all 7.0.0 [25.5 kB] Get:123 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmpdec3 riscv64 2.5.1-2build2 [85.3 kB] Get:124 http://ftpmaster.internal/ubuntu jammy/main riscv64 readline-common all 8.1.2-1 [53.5 kB] Get:125 http://ftpmaster.internal/ubuntu jammy/main riscv64 libreadline8 riscv64 8.1.2-1 [130 kB] Get:126 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsqlite3-0 riscv64 3.37.2-2 [559 kB] Get:127 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpython3.10-stdlib riscv64 3.10.4-3 [1717 kB] Get:128 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3.10 riscv64 3.10.4-3 [488 kB] Get:129 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpython3-stdlib riscv64 3.10.4-0ubuntu2 [6988 B] Get:130 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3 riscv64 3.10.4-0ubuntu2 [22.8 kB] Get:131 http://ftpmaster.internal/ubuntu jammy/main riscv64 libattr1 riscv64 1:2.5.1-1build1 [12.6 kB] Get:132 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcap2 riscv64 1:2.44-1build3 [16.3 kB] Get:133 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpam-runtime all 1.4.0-11ubuntu2 [40.3 kB] Get:134 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre3 riscv64 2:8.39-13build5 [171 kB] Get:135 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsmartcols1 riscv64 2.37.2-4ubuntu3 [103 kB] Get:136 http://ftpmaster.internal/ubuntu jammy/main riscv64 libprocps8 riscv64 2:3.3.17-6ubuntu2 [32.7 kB] Get:137 http://ftpmaster.internal/ubuntu jammy/main riscv64 libss2 riscv64 1.46.5-2ubuntu1 [10.7 kB] Get:138 http://ftpmaster.internal/ubuntu jammy/main riscv64 mawk riscv64 1.3.4.20200120-3 [95.0 kB] Get:139 http://ftpmaster.internal/ubuntu jammy/main riscv64 procps riscv64 2:3.3.17-6ubuntu2 [372 kB] Get:140 http://ftpmaster.internal/ubuntu jammy/main riscv64 sensible-utils all 0.0.17 [20.1 kB] Get:141 http://ftpmaster.internal/ubuntu jammy/main riscv64 usrmerge all 25ubuntu2 [54.7 kB] Get:142 http://ftpmaster.internal/ubuntu jammy/main riscv64 openssl riscv64 3.0.2-0ubuntu1 [1144 kB] Get:143 http://ftpmaster.internal/ubuntu jammy/main riscv64 ca-certificates all 20211016 [148 kB] Get:144 http://ftpmaster.internal/ubuntu jammy/main riscv64 tzdata all 2022a-0ubuntu1 [342 kB] Get:145 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpng16-16 riscv64 1.6.37-3build5 [178 kB] Get:146 http://ftpmaster.internal/ubuntu jammy/main riscv64 xz-utils riscv64 5.2.5-2ubuntu1 [81.4 kB] Get:147 http://ftpmaster.internal/ubuntu jammy/main riscv64 advancecomp riscv64 2.1-2.1ubuntu2 [209 kB] Get:148 http://ftpmaster.internal/ubuntu jammy/main riscv64 libctf0 riscv64 2.38-3ubuntu1 [97.9 kB] Get:149 http://ftpmaster.internal/ubuntu jammy/main riscv64 libctf-nobfd0 riscv64 2.38-3ubuntu1 [99.7 kB] Get:150 http://ftpmaster.internal/ubuntu jammy/main riscv64 binutils-riscv64-linux-gnu riscv64 2.38-3ubuntu1 [927 kB] Get:151 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbinutils riscv64 2.38-3ubuntu1 [492 kB] Get:152 http://ftpmaster.internal/ubuntu jammy/main riscv64 binutils riscv64 2.38-3ubuntu1 [3096 B] Get:153 http://ftpmaster.internal/ubuntu jammy/main riscv64 binutils-common riscv64 2.38-3ubuntu1 [213 kB] Get:154 http://ftpmaster.internal/ubuntu jammy/main riscv64 libisl23 riscv64 0.24-2build1 [593 kB] Get:155 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmpfr6 riscv64 4.1.0-3build3 [252 kB] Get:156 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmpc3 riscv64 1.2.1-2build1 [44.5 kB] Get:157 http://ftpmaster.internal/ubuntu jammy/universe riscv64 cpp-12 riscv64 12-20220319-1ubuntu1 [8299 kB] Get:158 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcc1-0 riscv64 12-20220319-1ubuntu1 [43.6 kB] Get:159 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgomp1 riscv64 12-20220319-1ubuntu1 [111 kB] Get:160 http://ftpmaster.internal/ubuntu jammy/main riscv64 libatomic1 riscv64 12-20220319-1ubuntu1 [7862 B] Get:161 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasan8 riscv64 12-20220319-1ubuntu1 [2324 kB] Get:162 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcc-12-dev riscv64 12-20220319-1ubuntu1 [2630 kB] Get:163 http://ftpmaster.internal/ubuntu jammy/universe riscv64 gcc-12 riscv64 12-20220319-1ubuntu1 [16.3 MB] Get:164 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libstdc++-12-dev riscv64 12-20220319-1ubuntu1 [4994 kB] Get:165 http://ftpmaster.internal/ubuntu jammy/universe riscv64 g++-12 riscv64 12-20220319-1ubuntu1 [9559 kB] Get:166 http://ftpmaster.internal/ubuntu jammy/main riscv64 make riscv64 4.3-4.1build1 [165 kB] Get:167 http://ftpmaster.internal/ubuntu jammy/main riscv64 patch riscv64 2.7.6-7build2 [103 kB] Get:168 http://ftpmaster.internal/ubuntu jammy/main riscv64 lto-disabled-list all 24 [12.5 kB] Get:169 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3-psutil riscv64 5.9.0-1build1 [156 kB] Get:170 http://ftpmaster.internal/ubuntu jammy/main riscv64 build-essential riscv64 12.9ubuntu3 [4752 B] Get:171 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasan6 riscv64 11.2.0-19ubuntu1 [2106 kB] Get:172 http://ftpmaster.internal/ubuntu jammy/main riscv64 g++-11 riscv64 11.2.0-19ubuntu1 [9292 kB] Get:173 http://ftpmaster.internal/ubuntu jammy/main riscv64 gcc-11 riscv64 11.2.0-19ubuntu1 [15.9 MB] Get:174 http://ftpmaster.internal/ubuntu jammy/main riscv64 libstdc++-11-dev riscv64 11.2.0-19ubuntu1 [4748 kB] Get:175 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgcc-11-dev riscv64 11.2.0-19ubuntu1 [2395 kB] Get:176 http://ftpmaster.internal/ubuntu jammy/main riscv64 cpp-11 riscv64 11.2.0-19ubuntu1 [7987 kB] Get:177 http://ftpmaster.internal/ubuntu jammy/main riscv64 gcc-11-base riscv64 11.2.0-19ubuntu1 [20.8 kB] Get:178 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfakeroot riscv64 1.28-1ubuntu1 [28.0 kB] Get:179 http://ftpmaster.internal/ubuntu jammy/main riscv64 fakeroot riscv64 1.28-1ubuntu1 [68.1 kB] Get:180 http://ftpmaster.internal/ubuntu jammy/main riscv64 libassuan0 riscv64 2.5.5-1build1 [33.0 kB] Get:181 http://ftpmaster.internal/ubuntu jammy/main riscv64 pinentry-curses riscv64 1.1.1-1build2 [35.9 kB] Get:182 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnpth0 riscv64 1.6-3build2 [7340 B] Get:183 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpg riscv64 2.2.27-3ubuntu2 [488 kB] Get:184 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpgconf riscv64 2.2.27-3ubuntu2 [116 kB] Get:185 http://ftpmaster.internal/ubuntu jammy/main riscv64 gpg-agent riscv64 2.2.27-3ubuntu2 [231 kB] Get:186 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblockfile-bin riscv64 1.17-1build2 [11.3 kB] Get:187 http://ftpmaster.internal/ubuntu jammy/main riscv64 liblockfile1 riscv64 1.17-1build2 [5986 B] Get:188 http://ftpmaster.internal/ubuntu jammy/main riscv64 lockfile-progs riscv64 0.1.19build1 [9384 B] Get:189 http://ftpmaster.internal/ubuntu jammy/main riscv64 optipng riscv64 0.7.7-2build1 [84.6 kB] Get:190 http://ftpmaster.internal/ubuntu jammy/main riscv64 pkgbinarymangler all 149 [32.4 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 143 MB in 28s (5128 kB/s) (Reading database ... 13170 files and directories currently installed.) Preparing to unpack .../0-rpcsvc-proto_1.4.2-0ubuntu6_riscv64.deb ... Unpacking rpcsvc-proto (1.4.2-0ubuntu6) over (1.4.2-0ubuntu5) ... Preparing to unpack .../1-libnsl-dev_1.3.0-2build2_riscv64.deb ... Unpacking libnsl-dev:riscv64 (1.3.0-2build2) over (1.3.0-2build1) ... Preparing to unpack .../2-libcrypt-dev_1%3a4.4.27-1_riscv64.deb ... Unpacking libcrypt-dev:riscv64 (1:4.4.27-1) over (1:4.4.18-4ubuntu2) ... Preparing to unpack .../3-libc6-dev_2.35-0ubuntu3_riscv64.deb ... Unpacking libc6-dev:riscv64 (2.35-0ubuntu3) over (2.34-0ubuntu3) ... Preparing to unpack .../4-libc-dev-bin_2.35-0ubuntu3_riscv64.deb ... Unpacking libc-dev-bin (2.35-0ubuntu3) over (2.34-0ubuntu3) ... Preparing to unpack .../5-libtirpc-common_1.3.2-2build1_all.deb ... Unpacking libtirpc-common (1.3.2-2build1) over (1.3.2-2) ... Setting up libtirpc-common (1.3.2-2build1) ... (Reading database ... 13175 files and directories currently installed.) Preparing to unpack .../libtirpc-dev_1.3.2-2build1_riscv64.deb ... Unpacking libtirpc-dev:riscv64 (1.3.2-2build1) over (1.3.2-2) ... Selecting previously unselected package libssl3:riscv64. Preparing to unpack .../libssl3_3.0.2-0ubuntu1_riscv64.deb ... Unpacking libssl3:riscv64 (3.0.2-0ubuntu1) ... Setting up libssl3:riscv64 (3.0.2-0ubuntu1) ... (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../libk5crypto3_1.19.2-2_riscv64.deb ... Unpacking libk5crypto3:riscv64 (1.19.2-2) over (1.18.3-6) ... Setting up libk5crypto3:riscv64 (1.19.2-2) ... (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../libkrb5support0_1.19.2-2_riscv64.deb ... Unpacking libkrb5support0:riscv64 (1.19.2-2) over (1.18.3-6) ... Setting up libkrb5support0:riscv64 (1.19.2-2) ... (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../libkrb5-3_1.19.2-2_riscv64.deb ... Unpacking libkrb5-3:riscv64 (1.19.2-2) over (1.18.3-6) ... Setting up libkrb5-3:riscv64 (1.19.2-2) ... (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../libgssapi-krb5-2_1.19.2-2_riscv64.deb ... Unpacking libgssapi-krb5-2:riscv64 (1.19.2-2) over (1.18.3-6) ... Setting up libgssapi-krb5-2:riscv64 (1.19.2-2) ... (Reading database ... 13186 files and directories currently installed.) Preparing to unpack .../perl_5.34.0-3ubuntu1_riscv64.deb ... Unpacking perl (5.34.0-3ubuntu1) over (5.32.1-3ubuntu3) ... Selecting previously unselected package perl-modules-5.34. Preparing to unpack .../perl-modules-5.34_5.34.0-3ubuntu1_all.deb ... Unpacking perl-modules-5.34 (5.34.0-3ubuntu1) ... Selecting previously unselected package libperl5.34:riscv64. Preparing to unpack .../libperl5.34_5.34.0-3ubuntu1_riscv64.deb ... Unpacking libperl5.34:riscv64 (5.34.0-3ubuntu1) ... Preparing to unpack .../perl-base_5.34.0-3ubuntu1_riscv64.deb ... Unpacking perl-base (5.34.0-3ubuntu1) over (5.32.1-3ubuntu3) ... Setting up perl-base (5.34.0-3ubuntu1) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../bzip2_1.0.8-5build1_riscv64.deb ... Unpacking bzip2 (1.0.8-5build1) over (1.0.8-4ubuntu4) ... Preparing to unpack .../libbz2-1.0_1.0.8-5build1_riscv64.deb ... Unpacking libbz2-1.0:riscv64 (1.0.8-5build1) over (1.0.8-4ubuntu4) ... Setting up libbz2-1.0:riscv64 (1.0.8-5build1) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libaudit-common_1%3a3.0.7-1build1_all.deb ... Unpacking libaudit-common (1:3.0.7-1build1) over (1:3.0-2ubuntu3) ... Setting up libaudit-common (1:3.0.7-1build1) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libcap-ng0_0.7.9-2.2build3_riscv64.deb ... Unpacking libcap-ng0:riscv64 (0.7.9-2.2build3) over (0.7.9-2.2build2) ... Setting up libcap-ng0:riscv64 (0.7.9-2.2build3) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libaudit1_1%3a3.0.7-1build1_riscv64.deb ... Unpacking libaudit1:riscv64 (1:3.0.7-1build1) over (1:3.0-2ubuntu3) ... Setting up libaudit1:riscv64 (1:3.0.7-1build1) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libpam0g_1.4.0-11ubuntu2_riscv64.deb ... Unpacking libpam0g:riscv64 (1.4.0-11ubuntu2) over (1.3.1-5ubuntu11) ... Setting up libpam0g:riscv64 (1.4.0-11ubuntu2) ... Checking for services that may need to be restarted...Checking init scripts... Nothing to restart. (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libcrypt1_1%3a4.4.27-1_riscv64.deb ... Unpacking libcrypt1:riscv64 (1:4.4.27-1) over (1:4.4.18-4ubuntu2) ... Setting up libcrypt1:riscv64 (1:4.4.27-1) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libdb5.3_5.3.28+dfsg1-0.8ubuntu3_riscv64.deb ... Unpacking libdb5.3:riscv64 (5.3.28+dfsg1-0.8ubuntu3) over (5.3.28+dfsg1-0.8ubuntu2) ... Setting up libdb5.3:riscv64 (5.3.28+dfsg1-0.8ubuntu3) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../libgdbm6_1.23-1_riscv64.deb ... Unpacking libgdbm6:riscv64 (1.23-1) over (1.19-2build1) ... Preparing to unpack .../libgdbm-compat4_1.23-1_riscv64.deb ... Unpacking libgdbm-compat4:riscv64 (1.23-1) over (1.19-2build1) ... Preparing to unpack .../zlib1g_1%3a1.2.11.dfsg-2ubuntu9_riscv64.deb ... Unpacking zlib1g:riscv64 (1:1.2.11.dfsg-2ubuntu9) over (1:1.2.11.dfsg-2ubuntu7) ... Setting up zlib1g:riscv64 (1:1.2.11.dfsg-2ubuntu9) ... (Reading database ... 15092 files and directories currently installed.) Preparing to unpack .../debconf_1.5.79ubuntu1_all.deb ... Unpacking debconf (1.5.79ubuntu1) over (1.5.77) ... Setting up debconf (1.5.79ubuntu1) ... (Reading database ... 15091 files and directories currently installed.) Preparing to unpack .../libcom-err2_1.46.5-2ubuntu1_riscv64.deb ... Unpacking libcom-err2:riscv64 (1.46.5-2ubuntu1) over (1.46.3-1ubuntu3) ... Setting up libcom-err2:riscv64 (1.46.5-2ubuntu1) ... (Reading database ... 15091 files and directories currently installed.) Preparing to unpack .../libkeyutils1_1.6.1-2ubuntu3_riscv64.deb ... Unpacking libkeyutils1:riscv64 (1.6.1-2ubuntu3) over (1.6.1-2ubuntu2) ... Setting up libkeyutils1:riscv64 (1.6.1-2ubuntu3) ... (Reading database ... 15091 files and directories currently installed.) Preparing to unpack .../libtirpc3_1.3.2-2build1_riscv64.deb ... Unpacking libtirpc3:riscv64 (1.3.2-2build1) over (1.3.2-2) ... Setting up libtirpc3:riscv64 (1.3.2-2build1) ... (Reading database ... 15091 files and directories currently installed.) Preparing to unpack .../libnsl2_1.3.0-2build2_riscv64.deb ... Unpacking libnsl2:riscv64 (1.3.0-2build2) over (1.3.0-2build1) ... Setting up libnsl2:riscv64 (1.3.0-2build2) ... (Reading database ... 15091 files and directories currently installed.) Preparing to unpack .../linux-libc-dev_5.15.0-25.25_riscv64.deb ... Unpacking linux-libc-dev:riscv64 (5.15.0-25.25) over (5.13.0-19.19) ... Preparing to unpack .../libc6_2.35-0ubuntu3_riscv64.deb ... Unpacking libc6:riscv64 (2.35-0ubuntu3) over (2.34-0ubuntu3) ... Setting up libc6:riscv64 (2.35-0ubuntu3) ... (Reading database ... 15101 files and directories currently installed.) Preparing to unpack .../libc-bin_2.35-0ubuntu3_riscv64.deb ... Unpacking libc-bin (2.35-0ubuntu3) over (2.34-0ubuntu3) ... Setting up libc-bin (2.35-0ubuntu3) ... Selecting previously unselected package gcc-12-base:riscv64. (Reading database ... 15099 files and directories currently installed.) Preparing to unpack .../gcc-12-base_12-20220319-1ubuntu1_riscv64.deb ... Unpacking gcc-12-base:riscv64 (12-20220319-1ubuntu1) ... Setting up gcc-12-base:riscv64 (12-20220319-1ubuntu1) ... (Reading database ... 15104 files and directories currently installed.) Preparing to unpack .../libgcc-s1_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libgcc-s1:riscv64 (12-20220319-1ubuntu1) over (11.2.0-7ubuntu2) ... Setting up libgcc-s1:riscv64 (12-20220319-1ubuntu1) ... (Reading database ... 15104 files and directories currently installed.) Preparing to unpack .../base-files_12ubuntu4_riscv64.deb ... Unpacking base-files (12ubuntu4) over (12ubuntu1) ... Setting up base-files (12ubuntu4) ... 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 ... (Reading database ... 15104 files and directories currently installed.) Preparing to unpack .../debianutils_5.5-1ubuntu2_riscv64.deb ... Unpacking debianutils (5.5-1ubuntu2) over (4.11.2build1) ... Setting up debianutils (5.5-1ubuntu2) ... update-alternatives: using /usr/bin/which.debianutils to provide /usr/bin/which (which) in auto mode (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../bash_5.1-6ubuntu1_riscv64.deb ... Unpacking bash (5.1-6ubuntu1) over (5.1-3ubuntu2) ... Setting up bash (5.1-6ubuntu1) ... 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 ... 15108 files and directories currently installed.) Preparing to unpack .../bsdutils_1%3a2.37.2-4ubuntu3_riscv64.deb ... Unpacking bsdutils (1:2.37.2-4ubuntu3) over (1:2.36.1-8ubuntu1) ... Setting up bsdutils (1:2.37.2-4ubuntu3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../coreutils_8.32-4.1ubuntu1_riscv64.deb ... Unpacking coreutils (8.32-4.1ubuntu1) over (8.32-4ubuntu3) ... Setting up coreutils (8.32-4.1ubuntu1) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libgpg-error0_1.43-3_riscv64.deb ... Unpacking libgpg-error0:riscv64 (1.43-3) over (1.38-2build2) ... Setting up libgpg-error0:riscv64 (1.43-3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libgcrypt20_1.9.4-3ubuntu3_riscv64.deb ... Unpacking libgcrypt20:riscv64 (1.9.4-3ubuntu3) over (1.8.7-5ubuntu2) ... Setting up libgcrypt20:riscv64 (1.9.4-3ubuntu3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../liblz4-1_1.9.3-2build2_riscv64.deb ... Unpacking liblz4-1:riscv64 (1.9.3-2build2) over (1.9.3-2build1) ... Setting up liblz4-1:riscv64 (1.9.3-2build2) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../liblzma5_5.2.5-2ubuntu1_riscv64.deb ... Unpacking liblzma5:riscv64 (5.2.5-2ubuntu1) over (5.2.5-2build1) ... Setting up liblzma5:riscv64 (5.2.5-2ubuntu1) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libstdc++6_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libstdc++6:riscv64 (12-20220319-1ubuntu1) over (11.2.0-7ubuntu2) ... Setting up libstdc++6:riscv64 (12-20220319-1ubuntu1) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libargon2-1_0~20171227-0.3_riscv64.deb ... Unpacking libargon2-1:riscv64 (0~20171227-0.3) over (0~20171227-0.2build22) ... Preparing to unpack .../libblkid1_2.37.2-4ubuntu3_riscv64.deb ... Unpacking libblkid1:riscv64 (2.37.2-4ubuntu3) over (2.36.1-8ubuntu1) ... Setting up libblkid1:riscv64 (2.37.2-4ubuntu3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libpcre2-8-0_10.39-3build1_riscv64.deb ... Unpacking libpcre2-8-0:riscv64 (10.39-3build1) over (10.37-0ubuntu2) ... Setting up libpcre2-8-0:riscv64 (10.39-3build1) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libselinux1_3.3-1build2_riscv64.deb ... Unpacking libselinux1:riscv64 (3.3-1build2) over (3.1-3build2) ... Setting up libselinux1:riscv64 (3.3-1build2) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libudev1_249.11-0ubuntu3_riscv64.deb ... Unpacking libudev1:riscv64 (249.11-0ubuntu3) over (248.3-1ubuntu8) ... Setting up libudev1:riscv64 (249.11-0ubuntu3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libdevmapper1.02.1_2%3a1.02.175-2.1ubuntu4_riscv64.deb ... Unpacking libdevmapper1.02.1:riscv64 (2:1.02.175-2.1ubuntu4) over (2:1.02.175-2.1ubuntu3) ... Preparing to unpack .../libjson-c5_0.15-2build4_riscv64.deb ... Unpacking libjson-c5:riscv64 (0.15-2build4) over (0.15-2build3) ... Preparing to unpack .../libuuid1_2.37.2-4ubuntu3_riscv64.deb ... Unpacking libuuid1:riscv64 (2.37.2-4ubuntu3) over (2.36.1-8ubuntu1) ... Setting up libuuid1:riscv64 (2.37.2-4ubuntu3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libcryptsetup12_2%3a2.4.3-1ubuntu1_riscv64.deb ... Unpacking libcryptsetup12:riscv64 (2:2.4.3-1ubuntu1) over (2:2.3.6-0ubuntu1) ... Preparing to unpack .../libgmp10_2%3a6.2.1+dfsg-3ubuntu1_riscv64.deb ... Unpacking libgmp10:riscv64 (2:6.2.1+dfsg-3ubuntu1) over (2:6.2.1+dfsg-1ubuntu3) ... Setting up libgmp10:riscv64 (2:6.2.1+dfsg-3ubuntu1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libnettle8_3.7.3-1build2_riscv64.deb ... Unpacking libnettle8:riscv64 (3.7.3-1build2) over (3.7.3-1build1) ... Setting up libnettle8:riscv64 (3.7.3-1build2) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libhogweed6_3.7.3-1build2_riscv64.deb ... Unpacking libhogweed6:riscv64 (3.7.3-1build2) over (3.7.3-1build1) ... Setting up libhogweed6:riscv64 (3.7.3-1build2) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libunistring2_1.0-1_riscv64.deb ... Unpacking libunistring2:riscv64 (1.0-1) over (0.9.10-6) ... Setting up libunistring2:riscv64 (1.0-1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libidn2-0_2.3.2-2build1_riscv64.deb ... Unpacking libidn2-0:riscv64 (2.3.2-2build1) over (2.3.1-1build1) ... Setting up libidn2-0:riscv64 (2.3.2-2build1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libffi8_3.4.2-4_riscv64.deb ... Unpacking libffi8:riscv64 (3.4.2-4) over (3.4.2-1ubuntu5) ... Setting up libffi8:riscv64 (3.4.2-4) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libp11-kit0_0.24.0-6build1_riscv64.deb ... Unpacking libp11-kit0:riscv64 (0.24.0-6build1) over (0.23.22-1build1) ... Setting up libp11-kit0:riscv64 (0.24.0-6build1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libtasn1-6_4.18.0-4build1_riscv64.deb ... Unpacking libtasn1-6:riscv64 (4.18.0-4build1) over (4.16.0-2build1) ... Setting up libtasn1-6:riscv64 (4.18.0-4build1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libgnutls30_3.7.3-4ubuntu1_riscv64.deb ... Unpacking libgnutls30:riscv64 (3.7.3-4ubuntu1) over (3.7.1-5ubuntu1) ... Setting up libgnutls30:riscv64 (3.7.3-4ubuntu1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../systemd-sysv_249.11-0ubuntu3_riscv64.deb ... Unpacking systemd-sysv (249.11-0ubuntu3) over (248.3-1ubuntu8) ... Preparing to unpack .../systemd-timesyncd_249.11-0ubuntu3_riscv64.deb ... Unpacking systemd-timesyncd (249.11-0ubuntu3) over (248.3-1ubuntu8) ... Preparing to unpack .../libacl1_2.3.1-1_riscv64.deb ... Unpacking libacl1:riscv64 (2.3.1-1) over (2.2.53-10ubuntu2) ... Setting up libacl1:riscv64 (2.3.1-1) ... (Reading database ... 15111 files and directories currently installed.) Preparing to unpack .../libapparmor1_3.0.4-2ubuntu2_riscv64.deb ... Unpacking libapparmor1:riscv64 (3.0.4-2ubuntu2) over (3.0.3-0ubuntu1) ... Preparing to unpack .../libip4tc2_1.8.7-1ubuntu5_riscv64.deb ... Unpacking libip4tc2:riscv64 (1.8.7-1ubuntu5) over (1.8.7-1ubuntu3) ... Preparing to unpack .../libzstd1_1.4.8+dfsg-3build1_riscv64.deb ... Unpacking libzstd1:riscv64 (1.4.8+dfsg-3build1) over (1.4.8+dfsg-2.1build1) ... Setting up libzstd1:riscv64 (1.4.8+dfsg-3build1) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libkmod2_29-1ubuntu1_riscv64.deb ... Unpacking libkmod2:riscv64 (29-1ubuntu1) over (28-1ubuntu4) ... Preparing to unpack .../libmount1_2.37.2-4ubuntu3_riscv64.deb ... Unpacking libmount1:riscv64 (2.37.2-4ubuntu3) over (2.36.1-8ubuntu1) ... Setting up libmount1:riscv64 (2.37.2-4ubuntu3) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../libseccomp2_2.5.3-2ubuntu2_riscv64.deb ... Unpacking libseccomp2:riscv64 (2.5.3-2ubuntu2) over (2.5.1-1ubuntu1) ... Preparing to unpack .../login_1%3a4.8.1-2ubuntu2_riscv64.deb ... Unpacking login (1:4.8.1-2ubuntu2) over (1:4.8.1-1ubuntu9) ... Setting up login (1:4.8.1-2ubuntu2) ... (Reading database ... 15110 files and directories currently installed.) Preparing to unpack .../util-linux_2.37.2-4ubuntu3_riscv64.deb ... Unpacking util-linux (2.37.2-4ubuntu3) over (2.36.1-8ubuntu1) ... Setting up util-linux (2.37.2-4ubuntu3) ... (Reading database ... 15105 files and directories currently installed.) Preparing to unpack .../mount_2.37.2-4ubuntu3_riscv64.deb ... Unpacking mount (2.37.2-4ubuntu3) over (2.36.1-8ubuntu1) ... Preparing to unpack .../systemd_249.11-0ubuntu3_riscv64.deb ... Unpacking systemd (249.11-0ubuntu3) over (248.3-1ubuntu8) ... Preparing to unpack .../libsystemd0_249.11-0ubuntu3_riscv64.deb ... Unpacking libsystemd0:riscv64 (249.11-0ubuntu3) over (248.3-1ubuntu8) ... Setting up libsystemd0:riscv64 (249.11-0ubuntu3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libxxhash0_0.8.1-1_riscv64.deb ... Unpacking libxxhash0:riscv64 (0.8.1-1) over (0.8.0-2build1) ... Setting up libxxhash0:riscv64 (0.8.1-1) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../libapt-pkg6.0_2.4.5_riscv64.deb ... Unpacking libapt-pkg6.0:riscv64 (2.4.5) over (2.3.9) ... Setting up libapt-pkg6.0:riscv64 (2.4.5) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../tar_1.34+dfsg-1build3_riscv64.deb ... Unpacking tar (1.34+dfsg-1build3) over (1.34+dfsg-1build2) ... Setting up tar (1.34+dfsg-1build3) ... (Reading database ... 15108 files and directories currently installed.) Preparing to unpack .../dpkg_1.21.1ubuntu11_riscv64.deb ... Unpacking dpkg (1.21.1ubuntu11) over (1.20.9ubuntu2) ... Setting up dpkg (1.21.1ubuntu11) ... Installing new version of config file /etc/cron.daily/dpkg ... Created symlink /etc/systemd/system/timers.target.wants/dpkg-db-backup.timer -> /lib/systemd/system/dpkg-db-backup.timer. (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../dash_0.5.11+git20210903+057cd650a4ed-3build1_riscv64.deb ... Unpacking dash (0.5.11+git20210903+057cd650a4ed-3build1) over (0.5.11+git20210120+802ebd4-1build1) ... Setting up dash (0.5.11+git20210903+057cd650a4ed-3build1) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../diffutils_1%3a3.8-0ubuntu2_riscv64.deb ... Unpacking diffutils (1:3.8-0ubuntu2) over (1:3.8-0ubuntu1) ... Setting up diffutils (1:3.8-0ubuntu2) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../findutils_4.8.0-1ubuntu3_riscv64.deb ... Unpacking findutils (4.8.0-1ubuntu3) over (4.8.0-1ubuntu2) ... Setting up findutils (4.8.0-1ubuntu3) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../grep_3.7-1build1_riscv64.deb ... Unpacking grep (3.7-1build1) over (3.7-0ubuntu1) ... Setting up grep (3.7-1build1) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../gzip_1.10-4ubuntu4_riscv64.deb ... Unpacking gzip (1.10-4ubuntu4) over (1.10-4ubuntu2) ... Setting up gzip (1.10-4ubuntu4) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../hostname_3.23ubuntu2_riscv64.deb ... Unpacking hostname (3.23ubuntu2) over (3.23ubuntu1) ... Setting up hostname (3.23ubuntu2) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../libncurses6_6.3-2_riscv64.deb ... Unpacking libncurses6:riscv64 (6.3-2) over (6.2+20201114-2build2) ... Preparing to unpack .../libncursesw6_6.3-2_riscv64.deb ... Unpacking libncursesw6:riscv64 (6.3-2) over (6.2+20201114-2build2) ... Preparing to unpack .../libtinfo6_6.3-2_riscv64.deb ... Unpacking libtinfo6:riscv64 (6.3-2) over (6.2+20201114-2build2) ... Setting up libtinfo6:riscv64 (6.3-2) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../ncurses-bin_6.3-2_riscv64.deb ... Unpacking ncurses-bin (6.3-2) over (6.2+20201114-2build2) ... Setting up ncurses-bin (6.3-2) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../sed_4.8-1ubuntu2_riscv64.deb ... Unpacking sed (4.8-1ubuntu2) over (4.7-1ubuntu2) ... Setting up sed (4.8-1ubuntu2) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../libdebconfclient0_0.261ubuntu1_riscv64.deb ... Unpacking libdebconfclient0:riscv64 (0.261ubuntu1) over (0.256ubuntu4) ... Setting up libdebconfclient0:riscv64 (0.261ubuntu1) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../base-passwd_3.5.52build1_riscv64.deb ... Unpacking base-passwd (3.5.52build1) over (3.5.52) ... Setting up base-passwd (3.5.52build1) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../init-system-helpers_1.62_all.deb ... Unpacking init-system-helpers (1.62) over (1.60build1) ... Setting up init-system-helpers (1.62) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../ncurses-base_6.3-2_all.deb ... Unpacking ncurses-base (6.3-2) over (6.2+20201114-2build2) ... Setting up ncurses-base (6.3-2) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../lsb-base_11.1.0ubuntu4_all.deb ... Unpacking lsb-base (11.1.0ubuntu4) over (11.1.0ubuntu3) ... Setting up lsb-base (11.1.0ubuntu4) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../sysvinit-utils_3.01-1ubuntu1_riscv64.deb ... Unpacking sysvinit-utils (3.01-1ubuntu1) over (2.96-7ubuntu2) ... Setting up sysvinit-utils (3.01-1ubuntu1) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../gpgv_2.2.27-3ubuntu2_riscv64.deb ... Unpacking gpgv (2.2.27-3ubuntu2) over (2.2.20-1ubuntu4) ... Setting up gpgv (2.2.27-3ubuntu2) ... (Reading database ... 15114 files and directories currently installed.) Preparing to unpack .../archives/apt_2.4.5_riscv64.deb ... Unpacking apt (2.4.5) over (2.3.9) ... Setting up apt (2.4.5) ... Installing new version of config file /etc/cron.daily/apt-compat ... Removing obsolete conffile /etc/kernel/postinst.d/apt-auto-removal ... Selecting previously unselected package libsepol2:riscv64. (Reading database ... 15109 files and directories currently installed.) Preparing to unpack .../libsepol2_3.3-1build1_riscv64.deb ... Unpacking libsepol2:riscv64 (3.3-1build1) ... Setting up libsepol2:riscv64 (3.3-1build1) ... (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../libsemanage-common_3.3-1build2_all.deb ... Unpacking libsemanage-common (3.3-1build2) over (3.1-1ubuntu3) ... Setting up libsemanage-common (3.3-1build2) ... Selecting previously unselected package libsemanage2:riscv64. (Reading database ... 15113 files and directories currently installed.) Preparing to unpack .../libsemanage2_3.3-1build2_riscv64.deb ... Unpacking libsemanage2:riscv64 (3.3-1build2) ... Setting up libsemanage2:riscv64 (3.3-1build2) ... (Reading database ... 15117 files and directories currently installed.) Preparing to unpack .../passwd_1%3a4.8.1-2ubuntu2_riscv64.deb ... Unpacking passwd (1:4.8.1-2ubuntu2) over (1:4.8.1-1ubuntu9) ... Setting up passwd (1:4.8.1-2ubuntu2) ... (Reading database ... 15124 files and directories currently installed.) Removing libsemanage1:riscv64 (3.1-1ubuntu3) ... (Reading database ... 15120 files and directories currently installed.) Preparing to unpack .../libpam-modules-bin_1.4.0-11ubuntu2_riscv64.deb ... Unpacking libpam-modules-bin (1.4.0-11ubuntu2) over (1.3.1-5ubuntu11) ... Setting up libpam-modules-bin (1.4.0-11ubuntu2) ... (Reading database ... 15118 files and directories currently installed.) Preparing to unpack .../libpam-modules_1.4.0-11ubuntu2_riscv64.deb ... Unpacking libpam-modules:riscv64 (1.4.0-11ubuntu2) over (1.3.1-5ubuntu11) ... Setting up libpam-modules:riscv64 (1.4.0-11ubuntu2) ... Installing new version of config file /etc/security/namespace.conf ... Installing new version of config file /etc/security/pam_env.conf ... (Reading database ... 15119 files and directories currently installed.) Preparing to unpack .../logsave_1.46.5-2ubuntu1_riscv64.deb ... Unpacking logsave (1.46.5-2ubuntu1) over (1.46.3-1ubuntu3) ... Preparing to unpack .../libext2fs2_1.46.5-2ubuntu1_riscv64.deb ... Unpacking libext2fs2:riscv64 (1.46.5-2ubuntu1) over (1.46.3-1ubuntu3) ... Setting up libext2fs2:riscv64 (1.46.5-2ubuntu1) ... (Reading database ... 15119 files and directories currently installed.) Preparing to unpack .../e2fsprogs_1.46.5-2ubuntu1_riscv64.deb ... Unpacking e2fsprogs (1.46.5-2ubuntu1) over (1.46.3-1ubuntu3) ... Setting up libapparmor1:riscv64 (3.0.4-2ubuntu2) ... Setting up libargon2-1:riscv64 (0~20171227-0.3) ... Setting up libdevmapper1.02.1:riscv64 (2:1.02.175-2.1ubuntu4) ... Setting up libjson-c5:riscv64 (0.15-2build4) ... Setting up libcryptsetup12:riscv64 (2:2.4.3-1ubuntu1) ... Setting up libip4tc2:riscv64 (1.8.7-1ubuntu5) ... Setting up libkmod2:riscv64 (29-1ubuntu1) ... Setting up libseccomp2:riscv64 (2.5.3-2ubuntu2) ... Setting up mount (2.37.2-4ubuntu3) ... Setting up systemd (249.11-0ubuntu3) ... 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/resolved.conf ... Initializing machine ID from random generator. Setting up systemd-sysv (249.11-0ubuntu3) ... (Reading database ... 15119 files and directories currently installed.) Preparing to unpack .../archives/init_1.62_riscv64.deb ... Unpacking init (1.62) over (1.60build1) ... Selecting previously unselected package libpython3.10-minimal:riscv64. Preparing to unpack .../libpython3.10-minimal_3.10.4-3_riscv64.deb ... Unpacking libpython3.10-minimal:riscv64 (3.10.4-3) ... Selecting previously unselected package libexpat1:riscv64. Preparing to unpack .../libexpat1_2.4.7-1_riscv64.deb ... Unpacking libexpat1:riscv64 (2.4.7-1) ... Selecting previously unselected package python3.10-minimal. Preparing to unpack .../python3.10-minimal_3.10.4-3_riscv64.deb ... Unpacking python3.10-minimal (3.10.4-3) ... Setting up libpython3.10-minimal:riscv64 (3.10.4-3) ... Setting up libexpat1:riscv64 (2.4.7-1) ... Setting up python3.10-minimal (3.10.4-3) ... Selecting previously unselected package python3-minimal. (Reading database ... 15421 files and directories currently installed.) Preparing to unpack .../0-python3-minimal_3.10.4-0ubuntu2_riscv64.deb ... Unpacking python3-minimal (3.10.4-0ubuntu2) ... Selecting previously unselected package media-types. Preparing to unpack .../1-media-types_7.0.0_all.deb ... Unpacking media-types (7.0.0) ... Selecting previously unselected package libmpdec3:riscv64. Preparing to unpack .../2-libmpdec3_2.5.1-2build2_riscv64.deb ... Unpacking libmpdec3:riscv64 (2.5.1-2build2) ... Preparing to unpack .../3-readline-common_8.1.2-1_all.deb ... Unpacking readline-common (8.1.2-1) over (8.1-2build1) ... Preparing to unpack .../4-libreadline8_8.1.2-1_riscv64.deb ... Unpacking libreadline8:riscv64 (8.1.2-1) over (8.1-2build1) ... Preparing to unpack .../5-libsqlite3-0_3.37.2-2_riscv64.deb ... Unpacking libsqlite3-0:riscv64 (3.37.2-2) over (3.35.5-1) ... Selecting previously unselected package libpython3.10-stdlib:riscv64. Preparing to unpack .../6-libpython3.10-stdlib_3.10.4-3_riscv64.deb ... Unpacking libpython3.10-stdlib:riscv64 (3.10.4-3) ... Selecting previously unselected package python3.10. Preparing to unpack .../7-python3.10_3.10.4-3_riscv64.deb ... Unpacking python3.10 (3.10.4-3) ... Selecting previously unselected package libpython3-stdlib:riscv64. Preparing to unpack .../8-libpython3-stdlib_3.10.4-0ubuntu2_riscv64.deb ... Unpacking libpython3-stdlib:riscv64 (3.10.4-0ubuntu2) ... Setting up python3-minimal (3.10.4-0ubuntu2) ... Selecting previously unselected package python3. (Reading database ... 15822 files and directories currently installed.) Preparing to unpack .../python3_3.10.4-0ubuntu2_riscv64.deb ... Unpacking python3 (3.10.4-0ubuntu2) ... Preparing to unpack .../libattr1_1%3a2.5.1-1build1_riscv64.deb ... Unpacking libattr1:riscv64 (1:2.5.1-1build1) over (1:2.4.48-6build2) ... Setting up libattr1:riscv64 (1:2.5.1-1build1) ... Installing new version of config file /etc/xattr.conf ... (Reading database ... 15842 files and directories currently installed.) Preparing to unpack .../libcap2_1%3a2.44-1build3_riscv64.deb ... Unpacking libcap2:riscv64 (1:2.44-1build3) over (1:2.44-1build2) ... Setting up libcap2:riscv64 (1:2.44-1build3) ... (Reading database ... 15842 files and directories currently installed.) Preparing to unpack .../libpam-runtime_1.4.0-11ubuntu2_all.deb ... Unpacking libpam-runtime (1.4.0-11ubuntu2) over (1.3.1-5ubuntu11) ... Setting up libpam-runtime (1.4.0-11ubuntu2) ... (Reading database ... 15842 files and directories currently installed.) Preparing to unpack .../libpcre3_2%3a8.39-13build5_riscv64.deb ... Unpacking libpcre3:riscv64 (2:8.39-13build5) over (2:8.39-13build4) ... Setting up libpcre3:riscv64 (2:8.39-13build5) ... (Reading database ... 15842 files and directories currently installed.) Preparing to unpack .../libsmartcols1_2.37.2-4ubuntu3_riscv64.deb ... Unpacking libsmartcols1:riscv64 (2.37.2-4ubuntu3) over (2.36.1-8ubuntu1) ... Setting up libsmartcols1:riscv64 (2.37.2-4ubuntu3) ... (Reading database ... 15842 files and directories currently installed.) Preparing to unpack .../00-libprocps8_2%3a3.3.17-6ubuntu2_riscv64.deb ... Unpacking libprocps8:riscv64 (2:3.3.17-6ubuntu2) over (2:3.3.17-5ubuntu3) ... Preparing to unpack .../01-libss2_1.46.5-2ubuntu1_riscv64.deb ... Unpacking libss2:riscv64 (1.46.5-2ubuntu1) over (1.46.3-1ubuntu3) ... Preparing to unpack .../02-mawk_1.3.4.20200120-3_riscv64.deb ... Unpacking mawk (1.3.4.20200120-3) over (1.3.4.20200120-2build1) ... Preparing to unpack .../03-procps_2%3a3.3.17-6ubuntu2_riscv64.deb ... Unpacking procps (2:3.3.17-6ubuntu2) over (2:3.3.17-5ubuntu3) ... Preparing to unpack .../04-sensible-utils_0.0.17_all.deb ... Unpacking sensible-utils (0.0.17) over (0.0.14) ... Preparing to unpack .../05-usrmerge_25ubuntu2_all.deb ... Unpacking usrmerge (25ubuntu2) over (25ubuntu1) ... Preparing to unpack .../06-openssl_3.0.2-0ubuntu1_riscv64.deb ... Unpacking openssl (3.0.2-0ubuntu1) over (1.1.1l-1ubuntu1) ... Preparing to unpack .../07-ca-certificates_20211016_all.deb ... Unpacking ca-certificates (20211016) over (20210119ubuntu1) ... Preparing to unpack .../08-tzdata_2022a-0ubuntu1_all.deb ... Unpacking tzdata (2022a-0ubuntu1) over (2021a-2ubuntu1) ... Preparing to unpack .../09-libpng16-16_1.6.37-3build5_riscv64.deb ... Unpacking libpng16-16:riscv64 (1.6.37-3build5) over (1.6.37-3build4) ... Preparing to unpack .../10-xz-utils_5.2.5-2ubuntu1_riscv64.deb ... Unpacking xz-utils (5.2.5-2ubuntu1) over (5.2.5-2build1) ... Preparing to unpack .../11-advancecomp_2.1-2.1ubuntu2_riscv64.deb ... Unpacking advancecomp (2.1-2.1ubuntu2) over (2.1-2.1ubuntu1) ... Preparing to unpack .../12-libctf0_2.38-3ubuntu1_riscv64.deb ... Unpacking libctf0:riscv64 (2.38-3ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../13-libctf-nobfd0_2.38-3ubuntu1_riscv64.deb ... Unpacking libctf-nobfd0:riscv64 (2.38-3ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../14-binutils-riscv64-linux-gnu_2.38-3ubuntu1_riscv64.deb ... Unpacking binutils-riscv64-linux-gnu (2.38-3ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../15-libbinutils_2.38-3ubuntu1_riscv64.deb ... Unpacking libbinutils:riscv64 (2.38-3ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../16-binutils_2.38-3ubuntu1_riscv64.deb ... Unpacking binutils (2.38-3ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../17-binutils-common_2.38-3ubuntu1_riscv64.deb ... Unpacking binutils-common:riscv64 (2.38-3ubuntu1) over (2.37-7ubuntu1) ... Preparing to unpack .../18-libisl23_0.24-2build1_riscv64.deb ... Unpacking libisl23:riscv64 (0.24-2build1) over (0.24-1build1) ... Preparing to unpack .../19-libmpfr6_4.1.0-3build3_riscv64.deb ... Unpacking libmpfr6:riscv64 (4.1.0-3build3) over (4.1.0-3build2) ... Preparing to unpack .../20-libmpc3_1.2.1-2build1_riscv64.deb ... Unpacking libmpc3:riscv64 (1.2.1-2build1) over (1.2.0-1build2) ... Selecting previously unselected package cpp-12. Preparing to unpack .../21-cpp-12_12-20220319-1ubuntu1_riscv64.deb ... Unpacking cpp-12 (12-20220319-1ubuntu1) ... Preparing to unpack .../22-g++_4%3a12-20211211-1ubuntu2_riscv64.deb ... Unpacking g++ (4:12-20211211-1ubuntu2) over (4:11.2.0-1ubuntu1) ... Preparing to unpack .../23-gcc_4%3a12-20211211-1ubuntu2_riscv64.deb ... Unpacking gcc (4:12-20211211-1ubuntu2) over (4:11.2.0-1ubuntu1) ... Preparing to unpack .../24-cpp_4%3a12-20211211-1ubuntu2_riscv64.deb ... Unpacking cpp (4:12-20211211-1ubuntu2) over (4:11.2.0-1ubuntu1) ... Preparing to unpack .../25-libcc1-0_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libcc1-0:riscv64 (12-20220319-1ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../26-libgomp1_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libgomp1:riscv64 (12-20220319-1ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../27-libatomic1_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libatomic1:riscv64 (12-20220319-1ubuntu1) over (11.2.0-7ubuntu2) ... Selecting previously unselected package libasan8:riscv64. Preparing to unpack .../28-libasan8_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libasan8:riscv64 (12-20220319-1ubuntu1) ... Selecting previously unselected package libgcc-12-dev:riscv64. Preparing to unpack .../29-libgcc-12-dev_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libgcc-12-dev:riscv64 (12-20220319-1ubuntu1) ... Selecting previously unselected package gcc-12. Preparing to unpack .../30-gcc-12_12-20220319-1ubuntu1_riscv64.deb ... Unpacking gcc-12 (12-20220319-1ubuntu1) ... Selecting previously unselected package libstdc++-12-dev:riscv64. Preparing to unpack .../31-libstdc++-12-dev_12-20220319-1ubuntu1_riscv64.deb ... Unpacking libstdc++-12-dev:riscv64 (12-20220319-1ubuntu1) ... Selecting previously unselected package g++-12. Preparing to unpack .../32-g++-12_12-20220319-1ubuntu1_riscv64.deb ... Unpacking g++-12 (12-20220319-1ubuntu1) ... Preparing to unpack .../33-make_4.3-4.1build1_riscv64.deb ... Unpacking make (4.3-4.1build1) over (4.3-4ubuntu1) ... Preparing to unpack .../34-dpkg-dev_1.21.1ubuntu11_all.deb ... Unpacking dpkg-dev (1.21.1ubuntu11) over (1.20.9ubuntu2) ... Preparing to unpack .../35-libdpkg-perl_1.21.1ubuntu11_all.deb ... Unpacking libdpkg-perl (1.21.1ubuntu11) over (1.20.9ubuntu2) ... Preparing to unpack .../36-patch_2.7.6-7build2_riscv64.deb ... Unpacking patch (2.7.6-7build2) over (2.7.6-7build1) ... Preparing to unpack .../37-lto-disabled-list_24_all.deb ... Unpacking lto-disabled-list (24) over (16) ... Selecting previously unselected package python3-psutil. Preparing to unpack .../38-python3-psutil_5.9.0-1build1_riscv64.deb ... Unpacking python3-psutil (5.9.0-1build1) ... Preparing to unpack .../39-build-essential_12.9ubuntu3_riscv64.deb ... Unpacking build-essential (12.9ubuntu3) over (12.9ubuntu2) ... Preparing to unpack .../40-libasan6_11.2.0-19ubuntu1_riscv64.deb ... Unpacking libasan6:riscv64 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../41-g++-11_11.2.0-19ubuntu1_riscv64.deb ... Unpacking g++-11 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../42-gcc-11_11.2.0-19ubuntu1_riscv64.deb ... Unpacking gcc-11 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../43-libstdc++-11-dev_11.2.0-19ubuntu1_riscv64.deb ... Unpacking libstdc++-11-dev:riscv64 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../44-libgcc-11-dev_11.2.0-19ubuntu1_riscv64.deb ... Unpacking libgcc-11-dev:riscv64 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../45-cpp-11_11.2.0-19ubuntu1_riscv64.deb ... Unpacking cpp-11 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../46-gcc-11-base_11.2.0-19ubuntu1_riscv64.deb ... Unpacking gcc-11-base:riscv64 (11.2.0-19ubuntu1) over (11.2.0-7ubuntu2) ... Preparing to unpack .../47-libfakeroot_1.28-1ubuntu1_riscv64.deb ... Unpacking libfakeroot:riscv64 (1.28-1ubuntu1) over (1.25.3-1.1ubuntu3) ... Preparing to unpack .../48-fakeroot_1.28-1ubuntu1_riscv64.deb ... Unpacking fakeroot (1.28-1ubuntu1) over (1.25.3-1.1ubuntu3) ... Preparing to unpack .../49-libassuan0_2.5.5-1build1_riscv64.deb ... Unpacking libassuan0:riscv64 (2.5.5-1build1) over (2.5.5-1) ... Preparing to unpack .../50-pinentry-curses_1.1.1-1build2_riscv64.deb ... Unpacking pinentry-curses (1.1.1-1build2) over (1.1.1-1build1) ... Preparing to unpack .../51-libnpth0_1.6-3build2_riscv64.deb ... Unpacking libnpth0:riscv64 (1.6-3build2) over (1.6-3build1) ... Preparing to unpack .../52-gpg_2.2.27-3ubuntu2_riscv64.deb ... Unpacking gpg (2.2.27-3ubuntu2) over (2.2.20-1ubuntu4) ... Preparing to unpack .../53-gpgconf_2.2.27-3ubuntu2_riscv64.deb ... Unpacking gpgconf (2.2.27-3ubuntu2) over (2.2.20-1ubuntu4) ... Preparing to unpack .../54-gpg-agent_2.2.27-3ubuntu2_riscv64.deb ... Unpacking gpg-agent (2.2.27-3ubuntu2) over (2.2.20-1ubuntu4) ... Preparing to unpack .../55-liblockfile-bin_1.17-1build2_riscv64.deb ... Unpacking liblockfile-bin (1.17-1build2) over (1.17-1build1) ... Preparing to unpack .../56-liblockfile1_1.17-1build2_riscv64.deb ... Unpacking liblockfile1:riscv64 (1.17-1build2) over (1.17-1build1) ... Preparing to unpack .../57-lockfile-progs_0.1.19build1_riscv64.deb ... Unpacking lockfile-progs (0.1.19build1) over (0.1.18build1) ... Preparing to unpack .../58-optipng_0.7.7-2build1_riscv64.deb ... Unpacking optipng (0.7.7-2build1) over (0.7.7-2) ... Preparing to unpack .../59-pkgbinarymangler_149_all.deb ... Unpacking pkgbinarymangler (149) over (148) ... Setting up media-types (7.0.0) ... Setting up gcc-11-base:riscv64 (11.2.0-19ubuntu1) ... Setting up lto-disabled-list (24) ... Setting up liblockfile-bin (1.17-1build2) ... Setting up init (1.62) ... Setting up libsqlite3-0:riscv64 (3.37.2-2) ... Setting up binutils-common:riscv64 (2.38-3ubuntu1) ... Setting up linux-libc-dev:riscv64 (5.15.0-25.25) ... Setting up libctf-nobfd0:riscv64 (2.38-3ubuntu1) ... Setting up libnpth0:riscv64 (1.6-3build2) ... Setting up libassuan0:riscv64 (2.5.5-1build1) ... Setting up libgomp1:riscv64 (12-20220319-1ubuntu1) ... Setting up perl-modules-5.34 (5.34.0-3ubuntu1) ... Setting up bzip2 (1.0.8-5build1) ... Setting up libfakeroot:riscv64 (1.28-1ubuntu1) ... Setting up libasan6:riscv64 (11.2.0-19ubuntu1) ... Setting up tzdata (2022a-0ubuntu1) ... Current default time zone: 'Etc/UTC' Local time is now: Fri Apr 22 15:36:28 UTC 2022. Universal Time is now: Fri Apr 22 15:36:28 UTC 2022. Run 'dpkg-reconfigure tzdata' if you wish to change it. Setting up fakeroot (1.28-1ubuntu1) ... Setting up libtirpc-dev:riscv64 (1.3.2-2build1) ... Setting up rpcsvc-proto (1.4.2-0ubuntu6) ... Setting up make (4.3-4.1build1) ... Setting up libmpfr6:riscv64 (4.1.0-3build3) ... Setting up libncurses6:riscv64 (6.3-2) ... Setting up xz-utils (5.2.5-2ubuntu1) ... Setting up libpng16-16:riscv64 (1.6.37-3build5) ... Setting up libmpc3:riscv64 (1.2.1-2build1) ... Setting up systemd-timesyncd (249.11-0ubuntu3) ... Setting up libatomic1:riscv64 (12-20220319-1ubuntu1) ... Setting up usrmerge (25ubuntu2) ... Setting up patch (2.7.6-7build2) ... Setting up libss2:riscv64 (1.46.5-2ubuntu1) ... Setting up libncursesw6:riscv64 (6.3-2) ... Setting up logsave (1.46.5-2ubuntu1) ... Setting up advancecomp (2.1-2.1ubuntu2) ... Setting up libgcc-11-dev:riscv64 (11.2.0-19ubuntu1) ... Setting up libnsl-dev:riscv64 (1.3.0-2build2) ... Setting up sensible-utils (0.0.17) ... Setting up libcrypt-dev:riscv64 (1:4.4.27-1) ... Setting up libasan8:riscv64 (12-20220319-1ubuntu1) ... Setting up libmpdec3:riscv64 (2.5.1-2build2) ... Setting up mawk (1.3.4.20200120-3) ... Setting up liblockfile1:riscv64 (1.17-1build2) ... Setting up libbinutils:riscv64 (2.38-3ubuntu1) ... Setting up libisl23:riscv64 (0.24-2build1) ... Setting up libc-dev-bin (2.35-0ubuntu3) ... Setting up openssl (3.0.2-0ubuntu1) ... Installing new version of config file /etc/ssl/openssl.cnf ... Setting up readline-common (8.1.2-1) ... Setting up libcc1-0:riscv64 (12-20220319-1ubuntu1) ... Setting up libprocps8:riscv64 (2:3.3.17-6ubuntu2) ... Setting up libgdbm6:riscv64 (1.23-1) ... Setting up libctf0:riscv64 (2.38-3ubuntu1) ... Setting up pinentry-curses (1.1.1-1build2) ... Setting up cpp-11 (11.2.0-19ubuntu1) ... Setting up cpp-12 (12-20220319-1ubuntu1) ... Setting up libreadline8:riscv64 (8.1.2-1) ... Setting up binutils-riscv64-linux-gnu (2.38-3ubuntu1) ... Setting up e2fsprogs (1.46.5-2ubuntu1) ... Installing new version of config file /etc/mke2fs.conf ... Setting up binutils (2.38-3ubuntu1) ... Setting up libpython3.10-stdlib:riscv64 (3.10.4-3) ... Setting up ca-certificates (20211016) ... Updating certificates in /etc/ssl/certs... rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL 7 added, 8 removed; done. Setting up optipng (0.7.7-2build1) ... Setting up libgcc-12-dev:riscv64 (12-20220319-1ubuntu1) ... Setting up lockfile-progs (0.1.19build1) ... Setting up libgdbm-compat4:riscv64 (1.23-1) ... Setting up gcc-11 (11.2.0-19ubuntu1) ... Setting up cpp (4:12-20211211-1ubuntu2) ... Setting up procps (2:3.3.17-6ubuntu2) ... Installing new version of config file /etc/init.d/procps ... Installing new version of config file /etc/sysctl.d/README.sysctl ... Setting up gpgconf (2.2.27-3ubuntu2) ... Setting up libc6-dev:riscv64 (2.35-0ubuntu3) ... Setting up gpg (2.2.27-3ubuntu2) ... Setting up libpython3-stdlib:riscv64 (3.10.4-0ubuntu2) ... Setting up libperl5.34:riscv64 (5.34.0-3ubuntu1) ... Setting up gpg-agent (2.2.27-3ubuntu2) ... Setting up python3.10 (3.10.4-3) ... Setting up pkgbinarymangler (149) ... Setting up libstdc++-12-dev:riscv64 (12-20220319-1ubuntu1) ... Setting up python3 (3.10.4-0ubuntu2) ... Setting up python3-psutil (5.9.0-1build1) ... Setting up perl (5.34.0-3ubuntu1) ... Setting up gcc-12 (12-20220319-1ubuntu1) ... Setting up libdpkg-perl (1.21.1ubuntu11) ... Setting up libstdc++-11-dev:riscv64 (11.2.0-19ubuntu1) ... Setting up g++-12 (12-20220319-1ubuntu1) ... Setting up g++-11 (11.2.0-19ubuntu1) ... Setting up gcc (4:12-20211211-1ubuntu2) ... Setting up dpkg-dev (1.21.1ubuntu11) ... Setting up g++ (4:12-20211211-1ubuntu2) ... Setting up build-essential (12.9ubuntu3) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... Processing triggers for ca-certificates (20211016) ... 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-23472504 riscv64 jammy -c chroot:build-PACKAGEBUILD-23472504 --arch=riscv64 --dist=jammy --nolog ufoai_2.5-6.dsc Initiating build PACKAGEBUILD-23472504 with 8 jobs across 8 processor cores. Kernel reported to sbuild: 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 sbuild (Debian sbuild) 0.79.0 (05 February 2020) on riscv64-qemu-lcy01-012.buildd +==============================================================================+ | ufoai 2.5-6 (riscv64) Fri, 22 Apr 2022 15:39:25 +0000 | +==============================================================================+ Package: ufoai Version: 2.5-6 Source Version: 2.5-6 Distribution: jammy Machine Architecture: riscv64 Host Architecture: riscv64 Build Architecture: riscv64 Build Type: any I: NOTICE: Log filtering will replace 'home/buildd/build-PACKAGEBUILD-23472504/chroot-autobuild' with '<>' I: NOTICE: Log filtering will replace 'build/ufoai-43WAz2/resolver-COugpV' with '<>' +------------------------------------------------------------------------------+ | Fetch source files | +------------------------------------------------------------------------------+ Local sources ------------- ufoai_2.5-6.dsc exists in .; copying to chroot I: NOTICE: Log filtering will replace 'build/ufoai-43WAz2/ufoai-2.5' with '<>' I: NOTICE: Log filtering will replace 'build/ufoai-43WAz2' 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 [626 B] Fetched 2128 B in 1s (1535 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: g++-11 libperl5.32 libstdc++-11-dev perl-modules-5.32 systemd-timesyncd Use 'apt autoremove' to remove them. The following additional packages will be installed: autoconf automake autopoint autotools-dev bash-completion bsdextrautils debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file fontconfig-config fonts-dejavu-core fonts-lmodern gettext gettext-base gir1.2-glib-2.0 gir1.2-ibus-1.0 groff-base icu-devtools intltool-debian libapache-pom-java libarchive-zip-perl libasound2 libasound2-data libasound2-dev libasyncns0 libblkid-dev libbrotli1 libbsd0 libcairo2 libcommons-logging-java libcommons-parent-java libcunit1 libcunit1-dev libcurl3-gnutls libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev libdebhelper-perl libdecor-0-0 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1 libegl-dev libegl-mesa0 libegl1 libegl1-mesa-dev libelf1 libffi-dev libfile-stripnondeterminism-perl libflac8 libfluidsynth3 libfontbox-java libfontconfig1 libfreetype6 libgbm1 libgirepository-1.0-1 libgl-dev libgl1 libgl1-mesa-dri libglapi-mesa libgles-dev libgles1 libgles2 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-dev libglx-mesa0 libglx0 libgraphite2-3 libharfbuzz0b libibus-1.0-5 libibus-1.0-dev libice-dev libice6 libicu-dev libicu70 libinstpatch-1.0-2 libjack-jackd2-0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libkpathsea6 libldap-2.5-0 libmagic-mgc libmagic1 libmd0 libmodplug1 libmount-dev libmpg123-0 libmxml-dev libmxml1 libnghttp2-14 libogg-dev libogg0 libopenal-data libopenal-dev libopenal1 libopengl-dev libopengl0 libopus0 libopusfile0 libpaper-utils libpaper1 libpcre16-3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpdfbox-java libpipeline1 libpixman-1-0 libpng-dev libpsl5 libptexenc1 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 librtmp1 libsamplerate0 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 libsigsegv2 libsm-dev libsm6 libsndfile1 libsndio-dev libsndio7.0 libssh-4 libsub-override-perl libsynctex2 libteckit0 libtexlua53 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 libx11-6 libx11-data libx11-dev libx11-xcb1 libxau-dev libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 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 libxt6 libxv-dev libxv1 libxvidcore-dev libxvidcore4 libxxf86vm-dev libxxf86vm1 libzzip-0-13 m4 man-db pkg-config po-debconf preview-latex-style python3-distutils python3-lib2to3 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 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 libasound2-plugins alsa-utils libasound2-doc libavalon-framework-java libcommons-logging-java-doc libexcalibur-logkit-java liblog4j1.2-java libcunit1-doc libcurl4-doc libgnutls28-dev libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssh2-1-dev libgirepository1.0-dev libglib2.0-doc libgdk-pixbuf2.0-bin | libgdk-pixbuf2.0-dev libxml2-utils libice-doc icu-doc jackd2 libportaudio2 opus-tools pulseaudio 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 ghostscript gv | postscript-viewer perl-tk xpdf | pdf-viewer xzdec texlive-latex-base-doc python3-pygments icc-profiles libfile-which-perl libspreadsheet-parseexcel-perl texlive-latex-extra-doc 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 dbus libdecor-0-plugin-1-cairo | libdecor-0-plugin-1 libarchive-cpio-perl libgl1-amber-dri shared-mime-info xdg-user-dirs libldap-common libmxml-bin libpng-tools publicsuffix libsasl2-modules libltdl-dev mesa-vulkan-drivers | vulkan-icd libmail-sendmail-perl lmodern dvisvgm 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 bash-completion bsdextrautils debhelper debugedit dh-autoreconf dh-strip-nondeterminism dwz file fontconfig-config fonts-dejavu-core fonts-lmodern gettext gettext-base gir1.2-glib-2.0 gir1.2-ibus-1.0 groff-base icu-devtools intltool-debian libapache-pom-java libarchive-zip-perl libasound2 libasound2-data libasound2-dev libasyncns0 libblkid-dev libbrotli1 libbsd0 libcairo2 libcommons-logging-java libcommons-parent-java libcunit1 libcunit1-dev libcurl3-gnutls libcurl4-gnutls-dev libdbus-1-3 libdbus-1-dev libdebhelper-perl libdecor-0-0 libdrm-common libdrm-nouveau2 libdrm-radeon1 libdrm2 libdw1 libegl-dev libegl-mesa0 libegl1 libegl1-mesa-dev libelf1 libffi-dev libfile-stripnondeterminism-perl libflac8 libfluidsynth3 libfontbox-java libfontconfig1 libfreetype6 libgbm1 libgirepository-1.0-1 libgl-dev libgl1 libgl1-mesa-dri libglapi-mesa libgles-dev libgles1 libgles2 libglib2.0-0 libglib2.0-bin libglib2.0-data libglib2.0-dev libglib2.0-dev-bin libglu1-mesa libglu1-mesa-dev libglvnd-core-dev libglvnd-dev libglvnd0 libglx-dev libglx-mesa0 libglx0 libgraphite2-3 libharfbuzz0b libibus-1.0-5 libibus-1.0-dev libice-dev libice6 libicu-dev libicu70 libinstpatch-1.0-2 libjack-jackd2-0 libjpeg-dev libjpeg-turbo8 libjpeg-turbo8-dev libjpeg8 libjpeg8-dev libkpathsea6 libldap-2.5-0 libmagic-mgc libmagic1 libmd0 libmodplug1 libmount-dev libmpg123-0 libmxml-dev libmxml1 libnghttp2-14 libogg-dev libogg0 libopenal-data libopenal-dev libopenal1 libopengl-dev libopengl0 libopus0 libopusfile0 libpaper-utils libpaper1 libpcre16-3 libpcre2-16-0 libpcre2-32-0 libpcre2-dev libpcre2-posix3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libpdfbox-java libpipeline1 libpixman-1-0 libpng-dev libpsl5 libptexenc1 libpthread-stubs0-dev libpulse-dev libpulse-mainloop-glib0 libpulse0 librtmp1 libsamplerate0 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 libsigsegv2 libsm-dev libsm6 libsndfile1 libsndio-dev libsndio7.0 libssh-4 libsub-override-perl libsynctex2 libteckit0 libtexlua53 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 libx11-6 libx11-data libx11-dev libx11-xcb1 libxau-dev libxau6 libxaw7 libxcb-dri2-0 libxcb-dri3-0 libxcb-glx0 libxcb-present0 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 libxt6 libxv-dev libxv1 libxvidcore-dev libxvidcore4 libxxf86vm-dev libxxf86vm1 libzzip-0-13 m4 man-db pkg-config po-debconf preview-latex-style python3-distutils python3-lib2to3 sbuild-build-depends-main-dummy 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 xorg-sgml-doctools xtrans-dev zip zlib1g-dev 0 upgraded, 255 newly installed, 0 to remove and 0 not upgraded. Need to get 163 MB of archives. After this operation, 650 MB of additional disk space will be used. Get:1 copy:/<>/apt_archive ./ sbuild-build-depends-main-dummy 0.invalid.0 [846 B] Get:2 http://ftpmaster.internal/ubuntu jammy/main riscv64 ucf all 3.0043 [56.1 kB] Get:3 http://ftpmaster.internal/ubuntu jammy/universe riscv64 tex-common all 6.17 [33.7 kB] Get:4 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglib2.0-0 riscv64 2.72.1-1 [1310 kB] Get:5 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgirepository-1.0-1 riscv64 1.72.0-1 [80.8 kB] Get:6 http://ftpmaster.internal/ubuntu jammy/main riscv64 gir1.2-glib-2.0 riscv64 1.72.0-1 [164 kB] Get:7 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmd0 riscv64 1.0.4-1build1 [30.1 kB] Get:8 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbsd0 riscv64 0.11.5-1 [40.9 kB] Get:9 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdbus-1-3 riscv64 1.12.20-2ubuntu4 [173 kB] Get:10 http://ftpmaster.internal/ubuntu jammy/main riscv64 libelf1 riscv64 0.186-1build1 [46.2 kB] Get:11 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglib2.0-data all 2.72.1-1 [4908 B] Get:12 http://ftpmaster.internal/ubuntu jammy/main riscv64 libicu70 riscv64 70.1-2 [10.5 MB] Get:13 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml2 riscv64 2.9.13+dfsg-1build1 [605 kB] Get:14 http://ftpmaster.internal/ubuntu jammy/main riscv64 xkb-data all 2.33-1 [394 kB] Get:15 http://ftpmaster.internal/ubuntu jammy/main riscv64 bash-completion all 1:2.11-5ubuntu1 [180 kB] Get:16 http://ftpmaster.internal/ubuntu jammy/main riscv64 bsdextrautils riscv64 2.37.2-4ubuntu3 [81.5 kB] Get:17 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmagic-mgc riscv64 1:5.41-3 [257 kB] Get:18 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmagic1 riscv64 1:5.41-3 [88.7 kB] Get:19 http://ftpmaster.internal/ubuntu jammy/main riscv64 file riscv64 1:5.41-3 [20.6 kB] Get:20 http://ftpmaster.internal/ubuntu jammy/main riscv64 gettext-base riscv64 0.21-4ubuntu4 [38.7 kB] Get:21 http://ftpmaster.internal/ubuntu jammy/main riscv64 libuchardet0 riscv64 0.0.7-1build2 [78.9 kB] Get:22 http://ftpmaster.internal/ubuntu jammy/main riscv64 groff-base riscv64 1.22.4-8build1 [925 kB] Get:23 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdrm-common all 2.4.110-1ubuntu1 [5360 B] Get:24 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdrm2 riscv64 2.4.110-1ubuntu1 [34.7 kB] Get:25 http://ftpmaster.internal/ubuntu jammy/main riscv64 libnghttp2-14 riscv64 1.43.0-1build3 [73.4 kB] Get:26 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpipeline1 riscv64 1.5.5-1 [26.2 kB] Get:27 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpsl5 riscv64 0.21.0-1.2build2 [57.3 kB] Get:28 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxau6 riscv64 1:1.0.9-1build5 [6836 B] Get:29 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxdmcp6 riscv64 1:1.1.3-0ubuntu5 [10.3 kB] Get:30 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb1 riscv64 1.14-3ubuntu3 [42.6 kB] Get:31 http://ftpmaster.internal/ubuntu jammy/main riscv64 libx11-data all 2:1.7.5-1 [119 kB] Get:32 http://ftpmaster.internal/ubuntu jammy/main riscv64 libx11-6 riscv64 2:1.7.5-1 [621 kB] Get:33 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxext6 riscv64 2:1.3.4-1build1 [27.8 kB] Get:34 http://ftpmaster.internal/ubuntu jammy/main riscv64 man-db riscv64 2.10.2-1 [1144 kB] Get:35 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsigsegv2 riscv64 2.13-1ubuntu3 [13.6 kB] Get:36 http://ftpmaster.internal/ubuntu jammy/main riscv64 m4 riscv64 1.4.18-5ubuntu2 [193 kB] Get:37 http://ftpmaster.internal/ubuntu jammy/main riscv64 autoconf all 2.71-2 [338 kB] Get:38 http://ftpmaster.internal/ubuntu jammy/main riscv64 autotools-dev all 20220109.1 [44.9 kB] Get:39 http://ftpmaster.internal/ubuntu jammy/main riscv64 automake all 1:1.16.5-1.3 [558 kB] Get:40 http://ftpmaster.internal/ubuntu jammy/main riscv64 autopoint all 0.21-4ubuntu4 [422 kB] Get:41 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdebhelper-perl all 13.6ubuntu1 [67.2 kB] Get:42 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtool all 2.4.6-15build2 [164 kB] Get:43 http://ftpmaster.internal/ubuntu jammy/main riscv64 dh-autoreconf all 20 [16.1 kB] Get:44 http://ftpmaster.internal/ubuntu jammy/main riscv64 libarchive-zip-perl all 1.68-1 [90.2 kB] Get:45 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsub-override-perl all 0.09-2 [9532 B] Get:46 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfile-stripnondeterminism-perl all 1.13.0-1 [18.1 kB] Get:47 http://ftpmaster.internal/ubuntu jammy/main riscv64 dh-strip-nondeterminism all 1.13.0-1 [5344 B] Get:48 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdw1 riscv64 0.186-1build1 [229 kB] Get:49 http://ftpmaster.internal/ubuntu jammy/main riscv64 debugedit riscv64 1:5.0-4build1 [50.0 kB] Get:50 http://ftpmaster.internal/ubuntu jammy/main riscv64 dwz riscv64 0.14-1build2 [105 kB] Get:51 http://ftpmaster.internal/ubuntu jammy/main riscv64 gettext riscv64 0.21-4ubuntu4 [817 kB] Get:52 http://ftpmaster.internal/ubuntu jammy/main riscv64 intltool-debian all 0.35.0+20060710.5 [24.9 kB] Get:53 http://ftpmaster.internal/ubuntu jammy/main riscv64 po-debconf all 1.0.21+nmu1 [233 kB] Get:54 http://ftpmaster.internal/ubuntu jammy/main riscv64 debhelper all 13.6ubuntu1 [923 kB] Get:55 http://ftpmaster.internal/ubuntu jammy/main riscv64 fonts-dejavu-core all 2.37-2build1 [1041 kB] Get:56 http://ftpmaster.internal/ubuntu jammy/main riscv64 fontconfig-config all 2.13.1-4.2ubuntu5 [29.1 kB] Get:57 http://ftpmaster.internal/ubuntu jammy/universe riscv64 fonts-lmodern all 2.004.5-6.1 [4532 kB] Get:58 http://ftpmaster.internal/ubuntu jammy/main riscv64 libibus-1.0-5 riscv64 1.5.26-4 [164 kB] Get:59 http://ftpmaster.internal/ubuntu jammy/main riscv64 gir1.2-ibus-1.0 riscv64 1.5.26-4 [88.3 kB] Get:60 http://ftpmaster.internal/ubuntu jammy/main riscv64 icu-devtools riscv64 70.1-2 [196 kB] Get:61 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libapache-pom-java all 18-1 [4720 B] Get:62 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasound2-data all 1.2.6.1-1ubuntu1 [19.1 kB] Get:63 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasound2 riscv64 1.2.6.1-1ubuntu1 [345 kB] Get:64 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasound2-dev riscv64 1.2.6.1-1ubuntu1 [110 kB] Get:65 http://ftpmaster.internal/ubuntu jammy/main riscv64 libasyncns0 riscv64 0.8-6build2 [12.1 kB] Get:66 http://ftpmaster.internal/ubuntu jammy/main riscv64 libbrotli1 riscv64 1.0.9-2build6 [330 kB] Get:67 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfreetype6 riscv64 2.11.1+dfsg-1build1 [361 kB] Get:68 http://ftpmaster.internal/ubuntu jammy/main riscv64 libfontconfig1 riscv64 2.13.1-4.2ubuntu5 [117 kB] Get:69 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpixman-1-0 riscv64 0.40.0-1build4 [165 kB] Get:70 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-render0 riscv64 1.14-3ubuntu3 [13.8 kB] Get:71 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-shm0 riscv64 1.14-3ubuntu3 [5256 B] Get:72 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxrender1 riscv64 1:0.9.10-1build4 [17.2 kB] Get:73 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcairo2 riscv64 1.16.0-5ubuntu2 [571 kB] Get:74 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libcommons-parent-java all 43-1 [10.8 kB] Get:75 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libcommons-logging-java all 1.2-2 [60.3 kB] Get:76 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libcunit1 riscv64 2.1-3-dfsg-2.4 [25.5 kB] Get:77 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libcunit1-dev riscv64 2.1-3-dfsg-2.4 [88.7 kB] Get:78 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsasl2-modules-db riscv64 2.1.27+dfsg2-3ubuntu1 [19.5 kB] Get:79 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsasl2-2 riscv64 2.1.27+dfsg2-3ubuntu1 [53.3 kB] Get:80 http://ftpmaster.internal/ubuntu jammy/main riscv64 libldap-2.5-0 riscv64 2.5.11+dfsg-1~exp1ubuntu3 [163 kB] Get:81 http://ftpmaster.internal/ubuntu jammy/main riscv64 librtmp1 riscv64 2.4+20151223.gitfa8646d.1-2build4 [54.6 kB] Get:82 http://ftpmaster.internal/ubuntu jammy/main riscv64 libssh-4 riscv64 0.9.6-2build1 [162 kB] Get:83 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcurl3-gnutls riscv64 7.81.0-1 [249 kB] Get:84 http://ftpmaster.internal/ubuntu jammy/main riscv64 libcurl4-gnutls-dev riscv64 7.81.0-1 [835 kB] Get:85 http://ftpmaster.internal/ubuntu jammy/main riscv64 pkg-config riscv64 0.29.2-1ubuntu3 [46.2 kB] Get:86 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdbus-1-dev riscv64 1.12.20-2ubuntu4 [413 kB] Get:87 http://ftpmaster.internal/ubuntu jammy/main riscv64 libwayland-client0 riscv64 1.20.0-1 [23.6 kB] Get:88 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdecor-0-0 riscv64 0.1.0-3build1 [12.6 kB] Get:89 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdrm-nouveau2 riscv64 2.4.110-1ubuntu1 [15.4 kB] Get:90 http://ftpmaster.internal/ubuntu jammy/main riscv64 libdrm-radeon1 riscv64 2.4.110-1ubuntu1 [20.4 kB] Get:91 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglvnd0 riscv64 1.4.0-1 [81.9 kB] Get:92 http://ftpmaster.internal/ubuntu jammy/main riscv64 libwayland-server0 riscv64 1.20.0-1 [29.8 kB] Get:93 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgbm1 riscv64 22.0.1-1ubuntu2 [31.5 kB] Get:94 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglapi-mesa riscv64 22.0.1-1ubuntu2 [51.4 kB] Get:95 http://ftpmaster.internal/ubuntu jammy/main riscv64 libx11-xcb1 riscv64 2:1.7.5-1 [7480 B] Get:96 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-dri2-0 riscv64 1.14-3ubuntu3 [6428 B] Get:97 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-dri3-0 riscv64 1.14-3ubuntu3 [6142 B] Get:98 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-present0 riscv64 1.14-3ubuntu3 [5254 B] Get:99 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-sync1 riscv64 1.14-3ubuntu3 [8094 B] Get:100 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-xfixes0 riscv64 1.14-3ubuntu3 [8698 B] Get:101 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxshmfence1 riscv64 1.3-1build4 [4976 B] Get:102 http://ftpmaster.internal/ubuntu jammy/main riscv64 libegl-mesa0 riscv64 22.0.1-1ubuntu2 [99.1 kB] Get:103 http://ftpmaster.internal/ubuntu jammy/main riscv64 libegl1 riscv64 1.4.0-1 [29.9 kB] Get:104 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb-glx0 riscv64 1.14-3ubuntu3 [21.0 kB] Get:105 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxfixes3 riscv64 1:6.0.0-1 [10.2 kB] Get:106 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxxf86vm1 riscv64 1:1.1.4-1build3 [9744 B] Get:107 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsensors-config all 1:3.6.0-7ubuntu1 [5274 B] Get:108 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsensors5 riscv64 1:3.6.0-7ubuntu1 [24.4 kB] Get:109 http://ftpmaster.internal/ubuntu jammy/main riscv64 libvulkan1 riscv64 1.3.204.1-2 [112 kB] Get:110 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgl1-mesa-dri riscv64 22.0.1-1ubuntu2 [4346 kB] Get:111 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglx-mesa0 riscv64 22.0.1-1ubuntu2 [149 kB] Get:112 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglx0 riscv64 1.4.0-1 [25.9 kB] Get:113 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgl1 riscv64 1.4.0-1 [128 kB] Get:114 http://ftpmaster.internal/ubuntu jammy/main riscv64 xorg-sgml-doctools all 1:1.11-1.1 [10.9 kB] Get:115 http://ftpmaster.internal/ubuntu jammy/main riscv64 x11proto-dev all 2021.5-1 [604 kB] Get:116 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxau-dev riscv64 1:1.0.9-1build5 [12.9 kB] Get:117 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxdmcp-dev riscv64 1:1.1.3-0ubuntu5 [36.1 kB] Get:118 http://ftpmaster.internal/ubuntu jammy/main riscv64 xtrans-dev all 1.4.0-1 [68.9 kB] Get:119 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpthread-stubs0-dev riscv64 0.4-1build2 [5500 B] Get:120 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcb1-dev riscv64 1.14-3ubuntu3 [164 kB] Get:121 http://ftpmaster.internal/ubuntu jammy/main riscv64 libx11-dev riscv64 2:1.7.5-1 [1273 kB] Get:122 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglx-dev riscv64 1.4.0-1 [14.1 kB] Get:123 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgl-dev riscv64 1.4.0-1 [102 kB] Get:124 http://ftpmaster.internal/ubuntu jammy/main riscv64 libegl-dev riscv64 1.4.0-1 [18.0 kB] Get:125 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglvnd-core-dev riscv64 1.4.0-1 [12.7 kB] Get:126 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgles1 riscv64 1.4.0-1 [11.8 kB] Get:127 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgles2 riscv64 1.4.0-1 [20.2 kB] Get:128 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgles-dev riscv64 1.4.0-1 [49.4 kB] Get:129 http://ftpmaster.internal/ubuntu jammy/main riscv64 libopengl0 riscv64 1.4.0-1 [45.2 kB] Get:130 http://ftpmaster.internal/ubuntu jammy/main riscv64 libopengl-dev riscv64 1.4.0-1 [3400 B] Get:131 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglvnd-dev riscv64 1.4.0-1 [3158 B] Get:132 http://ftpmaster.internal/ubuntu jammy/main riscv64 libegl1-mesa-dev riscv64 22.0.1-1ubuntu2 [8082 B] Get:133 http://ftpmaster.internal/ubuntu jammy/main riscv64 libogg0 riscv64 1.3.5-0ubuntu3 [21.5 kB] Get:134 http://ftpmaster.internal/ubuntu jammy/main riscv64 libflac8 riscv64 1.3.3-2build2 [92.0 kB] Get:135 http://ftpmaster.internal/ubuntu jammy/main riscv64 libopus0 riscv64 1.3.1-0.1build2 [194 kB] Get:136 http://ftpmaster.internal/ubuntu jammy/main riscv64 libvorbis0a riscv64 1.3.7-1build2 [93.9 kB] Get:137 http://ftpmaster.internal/ubuntu jammy/main riscv64 libvorbisenc2 riscv64 1.3.7-1build2 [75.2 kB] Get:138 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsndfile1 riscv64 1.0.31-2build1 [193 kB] Get:139 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libinstpatch-1.0-2 riscv64 1.1.6-1 [205 kB] Get:140 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsamplerate0 riscv64 0.2.2-1build1 [1358 kB] Get:141 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjack-jackd2-0 riscv64 1.9.20~dfsg-1 [296 kB] Get:142 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpulse0 riscv64 1:15.99.1+dfsg1-1ubuntu1 [259 kB] Get:143 http://ftpmaster.internal/ubuntu jammy/main riscv64 libwayland-cursor0 riscv64 1.20.0-1 [9956 B] Get:144 http://ftpmaster.internal/ubuntu jammy/main riscv64 libwayland-egl1 riscv64 1.20.0-1 [5102 B] Get:145 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcursor1 riscv64 1:1.2.0-2build4 [18.5 kB] Get:146 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxi6 riscv64 2:1.8-1build1 [29.7 kB] Get:147 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxinerama1 riscv64 2:1.1.4-3 [6616 B] Get:148 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxkbcommon0 riscv64 1.4.0-1 [114 kB] Get:149 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxrandr2 riscv64 2:1.5.2-1build1 [17.6 kB] Get:150 http://ftpmaster.internal/ubuntu jammy/main riscv64 x11-common all 1:7.7+23ubuntu2 [23.4 kB] Get:151 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxss1 riscv64 1:1.2.3-1build2 [7676 B] Get:152 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsdl2-2.0-0 riscv64 2.0.20+dfsg-2build1 [523 kB] Get:153 http://ftpmaster.internal/ubuntu jammy/universe riscv64 timgm6mb-soundfont all 1.3-5 [5427 kB] Get:154 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libfluidsynth3 riscv64 2.2.5-1 [208 kB] Get:155 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglib2.0-bin riscv64 2.72.1-1 [73.9 kB] Get:156 http://ftpmaster.internal/ubuntu jammy/main riscv64 libffi-dev riscv64 3.4.2-4 [93.4 kB] Get:157 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3-lib2to3 all 3.10.4-0ubuntu1 [76.2 kB] Get:158 http://ftpmaster.internal/ubuntu jammy/main riscv64 python3-distutils all 3.10.4-0ubuntu1 [138 kB] Get:159 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglib2.0-dev-bin riscv64 2.72.1-1 [116 kB] Get:160 http://ftpmaster.internal/ubuntu jammy/main riscv64 uuid-dev riscv64 2.37.2-4ubuntu3 [52.3 kB] Get:161 http://ftpmaster.internal/ubuntu jammy/main riscv64 libblkid-dev riscv64 2.37.2-4ubuntu3 [451 kB] Get:162 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsepol-dev riscv64 3.3-1build1 [1050 kB] Get:163 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre2-16-0 riscv64 10.39-3build1 [119 kB] Get:164 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre2-32-0 riscv64 10.39-3build1 [110 kB] Get:165 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre2-posix3 riscv64 10.39-3build1 [5574 B] Get:166 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre2-dev riscv64 10.39-3build1 [1185 kB] Get:167 http://ftpmaster.internal/ubuntu jammy/main riscv64 libselinux1-dev riscv64 3.3-1build2 [275 kB] Get:168 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmount-dev riscv64 2.37.2-4ubuntu3 [14.5 kB] Get:169 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre16-3 riscv64 2:8.39-13build5 [87.3 kB] Get:170 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre32-3 riscv64 2:8.39-13build5 [81.0 kB] Get:171 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcrecpp0v5 riscv64 2:8.39-13build5 [15.8 kB] Get:172 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpcre3-dev riscv64 2:8.39-13build5 [915 kB] Get:173 http://ftpmaster.internal/ubuntu jammy/main riscv64 zlib1g-dev riscv64 1:1.2.11.dfsg-2ubuntu9 [241 kB] Get:174 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglib2.0-dev riscv64 2.72.1-1 [4161 kB] Get:175 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglu1-mesa riscv64 9.0.2-1 [178 kB] Get:176 http://ftpmaster.internal/ubuntu jammy/main riscv64 libglu1-mesa-dev riscv64 9.0.2-1 [653 kB] Get:177 http://ftpmaster.internal/ubuntu jammy/main riscv64 libgraphite2-3 riscv64 1.3.14-1build2 [71.5 kB] Get:178 http://ftpmaster.internal/ubuntu jammy/main riscv64 libharfbuzz0b riscv64 2.7.4-1ubuntu3 [369 kB] Get:179 http://ftpmaster.internal/ubuntu jammy/main riscv64 libibus-1.0-dev riscv64 1.5.26-4 [185 kB] Get:180 http://ftpmaster.internal/ubuntu jammy/main riscv64 libice6 riscv64 2:1.0.10-1build2 [37.3 kB] Get:181 http://ftpmaster.internal/ubuntu jammy/main riscv64 libice-dev riscv64 2:1.0.10-1build2 [112 kB] Get:182 http://ftpmaster.internal/ubuntu jammy/main riscv64 libicu-dev riscv64 70.1-2 [16.6 MB] Get:183 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjpeg-turbo8 riscv64 2.1.2-0ubuntu1 [113 kB] Get:184 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjpeg-turbo8-dev riscv64 2.1.2-0ubuntu1 [435 kB] Get:185 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjpeg8 riscv64 8c-2ubuntu10 [2270 B] Get:186 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjpeg8-dev riscv64 8c-2ubuntu10 [1476 B] Get:187 http://ftpmaster.internal/ubuntu jammy/main riscv64 libjpeg-dev riscv64 8c-2ubuntu10 [1476 B] Get:188 http://ftpmaster.internal/ubuntu jammy/main riscv64 libkpathsea6 riscv64 2021.20210626.59705-1build1 [56.3 kB] Get:189 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libmodplug1 riscv64 1:0.8.9.0-3 [165 kB] Get:190 http://ftpmaster.internal/ubuntu jammy/main riscv64 libmpg123-0 riscv64 1.29.3-1build1 [168 kB] Get:191 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libmxml1 riscv64 3.3-1 [22.6 kB] Get:192 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libmxml-dev riscv64 3.3-1 [1300 kB] Get:193 http://ftpmaster.internal/ubuntu jammy/main riscv64 libogg-dev riscv64 1.3.5-0ubuntu3 [174 kB] Get:194 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libopenal-data all 1:1.19.1-2build3 [164 kB] Get:195 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsndio7.0 riscv64 1.8.1-1.1 [26.4 kB] Get:196 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libopenal1 riscv64 1:1.19.1-2build3 [514 kB] Get:197 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libopenal-dev riscv64 1:1.19.1-2build3 [22.7 kB] Get:198 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libopusfile0 riscv64 0.9+20170913-1.1build1 [38.7 kB] Get:199 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpaper1 riscv64 1.1.28build2 [12.9 kB] Get:200 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpaper-utils riscv64 1.1.28build2 [8254 B] Get:201 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpng-dev riscv64 1.6.37-3build5 [381 kB] Get:202 http://ftpmaster.internal/ubuntu jammy/main riscv64 libptexenc1 riscv64 2021.20210626.59705-1build1 [37.1 kB] Get:203 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpulse-mainloop-glib0 riscv64 1:15.99.1+dfsg1-1ubuntu1 [11.4 kB] Get:204 http://ftpmaster.internal/ubuntu jammy/main riscv64 libpulse-dev riscv64 1:15.99.1+dfsg1-1ubuntu1 [75.6 kB] Get:205 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsndio-dev riscv64 1.8.1-1.1 [17.8 kB] Get:206 http://ftpmaster.internal/ubuntu jammy/main riscv64 libudev-dev riscv64 249.11-0ubuntu3 [20.7 kB] Get:207 http://ftpmaster.internal/ubuntu jammy/main riscv64 libwayland-bin riscv64 1.20.0-1 [19.3 kB] Get:208 http://ftpmaster.internal/ubuntu jammy/main riscv64 libwayland-dev riscv64 1.20.0-1 [69.5 kB] Get:209 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxrender-dev riscv64 1:0.9.10-1build4 [49.3 kB] Get:210 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxfixes-dev riscv64 1:6.0.0-1 [22.0 kB] Get:211 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxcursor-dev riscv64 1:1.2.0-2build4 [52.8 kB] Get:212 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxext-dev riscv64 2:1.3.4-1build1 [127 kB] Get:213 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxi-dev riscv64 2:1.8-1build1 [236 kB] Get:214 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxinerama-dev riscv64 2:1.1.4-3 [10.7 kB] Get:215 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxkbcommon-dev riscv64 1.4.0-1 [54.9 kB] Get:216 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxrandr-dev riscv64 2:1.5.2-1build1 [49.2 kB] Get:217 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxss-dev riscv64 1:1.2.3-1build2 [15.8 kB] Get:218 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsm6 riscv64 2:1.2.3-1build2 [15.3 kB] Get:219 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxt6 riscv64 1:1.2.1-1 [150 kB] Get:220 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsm-dev riscv64 2:1.2.3-1build2 [37.4 kB] Get:221 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxt-dev riscv64 1:1.2.1-1 [638 kB] Get:222 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxv1 riscv64 2:1.0.11-1build2 [10.3 kB] Get:223 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxv-dev riscv64 2:1.0.11-1build2 [41.6 kB] Get:224 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxxf86vm-dev riscv64 1:1.1.4-1build3 [23.8 kB] Get:225 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsdl2-dev riscv64 2.0.20+dfsg-2build1 [2854 kB] Get:226 http://ftpmaster.internal/ubuntu jammy/main riscv64 libvorbisfile3 riscv64 1.3.7-1build2 [15.1 kB] Get:227 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsdl2-mixer-2.0-0 riscv64 2.0.4+dfsg1-4build1 [63.5 kB] Get:228 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsdl2-mixer-dev riscv64 2.0.4+dfsg1-4build1 [172 kB] Get:229 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsdl2-ttf-2.0-0 riscv64 2.0.18+dfsg-2 [27.2 kB] Get:230 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libsdl2-ttf-dev riscv64 2.0.18+dfsg-2 [85.3 kB] Get:231 http://ftpmaster.internal/ubuntu jammy/main riscv64 libsynctex2 riscv64 2021.20210626.59705-1build1 [49.8 kB] Get:232 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libteckit0 riscv64 2.5.11+ds1-1 [352 kB] Get:233 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtexlua53 riscv64 2021.20210626.59705-1build1 [103 kB] Get:234 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtheora0 riscv64 1.1.1+dfsg.1-15ubuntu4 [172 kB] Get:235 http://ftpmaster.internal/ubuntu jammy/main riscv64 libtheora-dev riscv64 1.1.1+dfsg.1-15ubuntu4 [374 kB] Get:236 http://ftpmaster.internal/ubuntu jammy/main riscv64 libvorbis-dev riscv64 1.3.7-1build2 [451 kB] Get:237 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxmu6 riscv64 2:1.1.3-3 [43.7 kB] Get:238 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxpm4 riscv64 1:3.5.12-1build2 [33.2 kB] Get:239 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxaw7 riscv64 2:1.0.14-1 [163 kB] Get:240 http://ftpmaster.internal/ubuntu jammy/main riscv64 libxml2-dev riscv64 2.9.13+dfsg-1build1 [2229 kB] Get:241 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libxvidcore4 riscv64 2:1.3.7-1 [193 kB] Get:242 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libxvidcore-dev riscv64 2:1.3.7-1 [608 kB] Get:243 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libzzip-0-13 riscv64 0.13.72+dfsg.1-1.1 [23.7 kB] Get:244 http://ftpmaster.internal/ubuntu jammy/universe riscv64 preview-latex-style all 12.2-1ubuntu1 [185 kB] Get:245 http://ftpmaster.internal/ubuntu jammy/main riscv64 t1utils riscv64 1.41-4build2 [55.5 kB] Get:246 http://ftpmaster.internal/ubuntu jammy/universe riscv64 texlive-binaries riscv64 2021.20210626.59705-1build1 [8046 kB] Get:247 http://ftpmaster.internal/ubuntu jammy/main riscv64 xdg-utils all 1.1.3-4.1ubuntu1 [62.2 kB] Get:248 http://ftpmaster.internal/ubuntu jammy/universe riscv64 texlive-base all 2021.20220204-1 [21.0 MB] Get:249 http://ftpmaster.internal/ubuntu jammy/universe riscv64 texlive-latex-base all 2021.20220204-1 [1128 kB] Get:250 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libfontbox-java all 1:1.8.16-2 [207 kB] Get:251 http://ftpmaster.internal/ubuntu jammy/universe riscv64 libpdfbox-java all 1:1.8.16-2 [5199 kB] Get:252 http://ftpmaster.internal/ubuntu jammy/universe riscv64 texlive-latex-recommended all 2021.20220204-1 [14.4 MB] Get:253 http://ftpmaster.internal/ubuntu jammy/universe riscv64 texlive-pictures all 2021.20220204-1 [8720 kB] Get:254 http://ftpmaster.internal/ubuntu jammy/universe riscv64 texlive-latex-extra all 2021.20220204-1 [13.9 MB] Get:255 http://ftpmaster.internal/ubuntu jammy/main riscv64 zip riscv64 3.0-12build2 [168 kB] debconf: delaying package configuration, since apt-utils is not installed Fetched 163 MB in 27s (6005 kB/s) Selecting previously unselected package ucf. (Reading database ... 17030 files and directories currently installed.) Preparing to unpack .../000-ucf_3.0043_all.deb ... Moving old data out of the way Unpacking ucf (3.0043) ... Selecting previously unselected package tex-common. Preparing to unpack .../001-tex-common_6.17_all.deb ... Unpacking tex-common (6.17) ... Selecting previously unselected package libglib2.0-0:riscv64. Preparing to unpack .../002-libglib2.0-0_2.72.1-1_riscv64.deb ... Unpacking libglib2.0-0:riscv64 (2.72.1-1) ... Selecting previously unselected package libgirepository-1.0-1:riscv64. Preparing to unpack .../003-libgirepository-1.0-1_1.72.0-1_riscv64.deb ... Unpacking libgirepository-1.0-1:riscv64 (1.72.0-1) ... Selecting previously unselected package gir1.2-glib-2.0:riscv64. Preparing to unpack .../004-gir1.2-glib-2.0_1.72.0-1_riscv64.deb ... Unpacking gir1.2-glib-2.0:riscv64 (1.72.0-1) ... Selecting previously unselected package libmd0:riscv64. Preparing to unpack .../005-libmd0_1.0.4-1build1_riscv64.deb ... Unpacking libmd0:riscv64 (1.0.4-1build1) ... Selecting previously unselected package libbsd0:riscv64. Preparing to unpack .../006-libbsd0_0.11.5-1_riscv64.deb ... Unpacking libbsd0:riscv64 (0.11.5-1) ... Selecting previously unselected package libdbus-1-3:riscv64. Preparing to unpack .../007-libdbus-1-3_1.12.20-2ubuntu4_riscv64.deb ... Unpacking libdbus-1-3:riscv64 (1.12.20-2ubuntu4) ... Selecting previously unselected package libelf1:riscv64. Preparing to unpack .../008-libelf1_0.186-1build1_riscv64.deb ... Unpacking libelf1:riscv64 (0.186-1build1) ... Selecting previously unselected package libglib2.0-data. Preparing to unpack .../009-libglib2.0-data_2.72.1-1_all.deb ... Unpacking libglib2.0-data (2.72.1-1) ... Selecting previously unselected package libicu70:riscv64. Preparing to unpack .../010-libicu70_70.1-2_riscv64.deb ... Unpacking libicu70:riscv64 (70.1-2) ... Selecting previously unselected package libxml2:riscv64. Preparing to unpack .../011-libxml2_2.9.13+dfsg-1build1_riscv64.deb ... Unpacking libxml2:riscv64 (2.9.13+dfsg-1build1) ... Selecting previously unselected package xkb-data. Preparing to unpack .../012-xkb-data_2.33-1_all.deb ... Unpacking xkb-data (2.33-1) ... Selecting previously unselected package bash-completion. Preparing to unpack .../013-bash-completion_1%3a2.11-5ubuntu1_all.deb ... Unpacking bash-completion (1:2.11-5ubuntu1) ... Selecting previously unselected package bsdextrautils. Preparing to unpack .../014-bsdextrautils_2.37.2-4ubuntu3_riscv64.deb ... Unpacking bsdextrautils (2.37.2-4ubuntu3) ... Selecting previously unselected package libmagic-mgc. Preparing to unpack .../015-libmagic-mgc_1%3a5.41-3_riscv64.deb ... Unpacking libmagic-mgc (1:5.41-3) ... Selecting previously unselected package libmagic1:riscv64. Preparing to unpack .../016-libmagic1_1%3a5.41-3_riscv64.deb ... Unpacking libmagic1:riscv64 (1:5.41-3) ... Selecting previously unselected package file. Preparing to unpack .../017-file_1%3a5.41-3_riscv64.deb ... Unpacking file (1:5.41-3) ... Selecting previously unselected package gettext-base. Preparing to unpack .../018-gettext-base_0.21-4ubuntu4_riscv64.deb ... Unpacking gettext-base (0.21-4ubuntu4) ... Selecting previously unselected package libuchardet0:riscv64. Preparing to unpack .../019-libuchardet0_0.0.7-1build2_riscv64.deb ... Unpacking libuchardet0:riscv64 (0.0.7-1build2) ... Selecting previously unselected package groff-base. Preparing to unpack .../020-groff-base_1.22.4-8build1_riscv64.deb ... Unpacking groff-base (1.22.4-8build1) ... Selecting previously unselected package libdrm-common. Preparing to unpack .../021-libdrm-common_2.4.110-1ubuntu1_all.deb ... Unpacking libdrm-common (2.4.110-1ubuntu1) ... Selecting previously unselected package libdrm2:riscv64. Preparing to unpack .../022-libdrm2_2.4.110-1ubuntu1_riscv64.deb ... Unpacking libdrm2:riscv64 (2.4.110-1ubuntu1) ... Selecting previously unselected package libnghttp2-14:riscv64. Preparing to unpack .../023-libnghttp2-14_1.43.0-1build3_riscv64.deb ... Unpacking libnghttp2-14:riscv64 (1.43.0-1build3) ... Selecting previously unselected package libpipeline1:riscv64. Preparing to unpack .../024-libpipeline1_1.5.5-1_riscv64.deb ... Unpacking libpipeline1:riscv64 (1.5.5-1) ... Selecting previously unselected package libpsl5:riscv64. Preparing to unpack .../025-libpsl5_0.21.0-1.2build2_riscv64.deb ... Unpacking libpsl5:riscv64 (0.21.0-1.2build2) ... Selecting previously unselected package libxau6:riscv64. Preparing to unpack .../026-libxau6_1%3a1.0.9-1build5_riscv64.deb ... Unpacking libxau6:riscv64 (1:1.0.9-1build5) ... Selecting previously unselected package libxdmcp6:riscv64. Preparing to unpack .../027-libxdmcp6_1%3a1.1.3-0ubuntu5_riscv64.deb ... Unpacking libxdmcp6:riscv64 (1:1.1.3-0ubuntu5) ... Selecting previously unselected package libxcb1:riscv64. Preparing to unpack .../028-libxcb1_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb1:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libx11-data. Preparing to unpack .../029-libx11-data_2%3a1.7.5-1_all.deb ... Unpacking libx11-data (2:1.7.5-1) ... Selecting previously unselected package libx11-6:riscv64. Preparing to unpack .../030-libx11-6_2%3a1.7.5-1_riscv64.deb ... Unpacking libx11-6:riscv64 (2:1.7.5-1) ... Selecting previously unselected package libxext6:riscv64. Preparing to unpack .../031-libxext6_2%3a1.3.4-1build1_riscv64.deb ... Unpacking libxext6:riscv64 (2:1.3.4-1build1) ... Selecting previously unselected package man-db. Preparing to unpack .../032-man-db_2.10.2-1_riscv64.deb ... Unpacking man-db (2.10.2-1) ... Selecting previously unselected package libsigsegv2:riscv64. Preparing to unpack .../033-libsigsegv2_2.13-1ubuntu3_riscv64.deb ... Unpacking libsigsegv2:riscv64 (2.13-1ubuntu3) ... Selecting previously unselected package m4. Preparing to unpack .../034-m4_1.4.18-5ubuntu2_riscv64.deb ... Unpacking m4 (1.4.18-5ubuntu2) ... Selecting previously unselected package autoconf. Preparing to unpack .../035-autoconf_2.71-2_all.deb ... Unpacking autoconf (2.71-2) ... Selecting previously unselected package autotools-dev. Preparing to unpack .../036-autotools-dev_20220109.1_all.deb ... Unpacking autotools-dev (20220109.1) ... Selecting previously unselected package automake. Preparing to unpack .../037-automake_1%3a1.16.5-1.3_all.deb ... Unpacking automake (1:1.16.5-1.3) ... Selecting previously unselected package autopoint. Preparing to unpack .../038-autopoint_0.21-4ubuntu4_all.deb ... Unpacking autopoint (0.21-4ubuntu4) ... Selecting previously unselected package libdebhelper-perl. Preparing to unpack .../039-libdebhelper-perl_13.6ubuntu1_all.deb ... Unpacking libdebhelper-perl (13.6ubuntu1) ... Selecting previously unselected package libtool. Preparing to unpack .../040-libtool_2.4.6-15build2_all.deb ... Unpacking libtool (2.4.6-15build2) ... Selecting previously unselected package dh-autoreconf. Preparing to unpack .../041-dh-autoreconf_20_all.deb ... Unpacking dh-autoreconf (20) ... Selecting previously unselected package libarchive-zip-perl. Preparing to unpack .../042-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 .../043-libsub-override-perl_0.09-2_all.deb ... Unpacking libsub-override-perl (0.09-2) ... Selecting previously unselected package libfile-stripnondeterminism-perl. Preparing to unpack .../044-libfile-stripnondeterminism-perl_1.13.0-1_all.deb ... Unpacking libfile-stripnondeterminism-perl (1.13.0-1) ... Selecting previously unselected package dh-strip-nondeterminism. Preparing to unpack .../045-dh-strip-nondeterminism_1.13.0-1_all.deb ... Unpacking dh-strip-nondeterminism (1.13.0-1) ... Selecting previously unselected package libdw1:riscv64. Preparing to unpack .../046-libdw1_0.186-1build1_riscv64.deb ... Unpacking libdw1:riscv64 (0.186-1build1) ... Selecting previously unselected package debugedit. Preparing to unpack .../047-debugedit_1%3a5.0-4build1_riscv64.deb ... Unpacking debugedit (1:5.0-4build1) ... Selecting previously unselected package dwz. Preparing to unpack .../048-dwz_0.14-1build2_riscv64.deb ... Unpacking dwz (0.14-1build2) ... Selecting previously unselected package gettext. Preparing to unpack .../049-gettext_0.21-4ubuntu4_riscv64.deb ... Unpacking gettext (0.21-4ubuntu4) ... Selecting previously unselected package intltool-debian. Preparing to unpack .../050-intltool-debian_0.35.0+20060710.5_all.deb ... Unpacking intltool-debian (0.35.0+20060710.5) ... Selecting previously unselected package po-debconf. Preparing to unpack .../051-po-debconf_1.0.21+nmu1_all.deb ... Unpacking po-debconf (1.0.21+nmu1) ... Selecting previously unselected package debhelper. Preparing to unpack .../052-debhelper_13.6ubuntu1_all.deb ... Unpacking debhelper (13.6ubuntu1) ... Selecting previously unselected package fonts-dejavu-core. Preparing to unpack .../053-fonts-dejavu-core_2.37-2build1_all.deb ... Unpacking fonts-dejavu-core (2.37-2build1) ... Selecting previously unselected package fontconfig-config. Preparing to unpack .../054-fontconfig-config_2.13.1-4.2ubuntu5_all.deb ... Unpacking fontconfig-config (2.13.1-4.2ubuntu5) ... Selecting previously unselected package fonts-lmodern. Preparing to unpack .../055-fonts-lmodern_2.004.5-6.1_all.deb ... Unpacking fonts-lmodern (2.004.5-6.1) ... Selecting previously unselected package libibus-1.0-5:riscv64. Preparing to unpack .../056-libibus-1.0-5_1.5.26-4_riscv64.deb ... Unpacking libibus-1.0-5:riscv64 (1.5.26-4) ... Selecting previously unselected package gir1.2-ibus-1.0:riscv64. Preparing to unpack .../057-gir1.2-ibus-1.0_1.5.26-4_riscv64.deb ... Unpacking gir1.2-ibus-1.0:riscv64 (1.5.26-4) ... Selecting previously unselected package icu-devtools. Preparing to unpack .../058-icu-devtools_70.1-2_riscv64.deb ... Unpacking icu-devtools (70.1-2) ... Selecting previously unselected package libapache-pom-java. Preparing to unpack .../059-libapache-pom-java_18-1_all.deb ... Unpacking libapache-pom-java (18-1) ... Selecting previously unselected package libasound2-data. Preparing to unpack .../060-libasound2-data_1.2.6.1-1ubuntu1_all.deb ... Unpacking libasound2-data (1.2.6.1-1ubuntu1) ... Selecting previously unselected package libasound2:riscv64. Preparing to unpack .../061-libasound2_1.2.6.1-1ubuntu1_riscv64.deb ... Unpacking libasound2:riscv64 (1.2.6.1-1ubuntu1) ... Selecting previously unselected package libasound2-dev:riscv64. Preparing to unpack .../062-libasound2-dev_1.2.6.1-1ubuntu1_riscv64.deb ... Unpacking libasound2-dev:riscv64 (1.2.6.1-1ubuntu1) ... Selecting previously unselected package libasyncns0:riscv64. Preparing to unpack .../063-libasyncns0_0.8-6build2_riscv64.deb ... Unpacking libasyncns0:riscv64 (0.8-6build2) ... Selecting previously unselected package libbrotli1:riscv64. Preparing to unpack .../064-libbrotli1_1.0.9-2build6_riscv64.deb ... Unpacking libbrotli1:riscv64 (1.0.9-2build6) ... Selecting previously unselected package libfreetype6:riscv64. Preparing to unpack .../065-libfreetype6_2.11.1+dfsg-1build1_riscv64.deb ... Unpacking libfreetype6:riscv64 (2.11.1+dfsg-1build1) ... Selecting previously unselected package libfontconfig1:riscv64. Preparing to unpack .../066-libfontconfig1_2.13.1-4.2ubuntu5_riscv64.deb ... Unpacking libfontconfig1:riscv64 (2.13.1-4.2ubuntu5) ... Selecting previously unselected package libpixman-1-0:riscv64. Preparing to unpack .../067-libpixman-1-0_0.40.0-1build4_riscv64.deb ... Unpacking libpixman-1-0:riscv64 (0.40.0-1build4) ... Selecting previously unselected package libxcb-render0:riscv64. Preparing to unpack .../068-libxcb-render0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-render0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxcb-shm0:riscv64. Preparing to unpack .../069-libxcb-shm0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-shm0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxrender1:riscv64. Preparing to unpack .../070-libxrender1_1%3a0.9.10-1build4_riscv64.deb ... Unpacking libxrender1:riscv64 (1:0.9.10-1build4) ... Selecting previously unselected package libcairo2:riscv64. Preparing to unpack .../071-libcairo2_1.16.0-5ubuntu2_riscv64.deb ... Unpacking libcairo2:riscv64 (1.16.0-5ubuntu2) ... Selecting previously unselected package libcommons-parent-java. Preparing to unpack .../072-libcommons-parent-java_43-1_all.deb ... Unpacking libcommons-parent-java (43-1) ... Selecting previously unselected package libcommons-logging-java. Preparing to unpack .../073-libcommons-logging-java_1.2-2_all.deb ... Unpacking libcommons-logging-java (1.2-2) ... Selecting previously unselected package libcunit1:riscv64. Preparing to unpack .../074-libcunit1_2.1-3-dfsg-2.4_riscv64.deb ... Unpacking libcunit1:riscv64 (2.1-3-dfsg-2.4) ... Selecting previously unselected package libcunit1-dev. Preparing to unpack .../075-libcunit1-dev_2.1-3-dfsg-2.4_riscv64.deb ... Unpacking libcunit1-dev (2.1-3-dfsg-2.4) ... Selecting previously unselected package libsasl2-modules-db:riscv64. Preparing to unpack .../076-libsasl2-modules-db_2.1.27+dfsg2-3ubuntu1_riscv64.deb ... Unpacking libsasl2-modules-db:riscv64 (2.1.27+dfsg2-3ubuntu1) ... Selecting previously unselected package libsasl2-2:riscv64. Preparing to unpack .../077-libsasl2-2_2.1.27+dfsg2-3ubuntu1_riscv64.deb ... Unpacking libsasl2-2:riscv64 (2.1.27+dfsg2-3ubuntu1) ... Selecting previously unselected package libldap-2.5-0:riscv64. Preparing to unpack .../078-libldap-2.5-0_2.5.11+dfsg-1~exp1ubuntu3_riscv64.deb ... Unpacking libldap-2.5-0:riscv64 (2.5.11+dfsg-1~exp1ubuntu3) ... Selecting previously unselected package librtmp1:riscv64. Preparing to unpack .../079-librtmp1_2.4+20151223.gitfa8646d.1-2build4_riscv64.deb ... Unpacking librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build4) ... Selecting previously unselected package libssh-4:riscv64. Preparing to unpack .../080-libssh-4_0.9.6-2build1_riscv64.deb ... Unpacking libssh-4:riscv64 (0.9.6-2build1) ... Selecting previously unselected package libcurl3-gnutls:riscv64. Preparing to unpack .../081-libcurl3-gnutls_7.81.0-1_riscv64.deb ... Unpacking libcurl3-gnutls:riscv64 (7.81.0-1) ... Selecting previously unselected package libcurl4-gnutls-dev:riscv64. Preparing to unpack .../082-libcurl4-gnutls-dev_7.81.0-1_riscv64.deb ... Unpacking libcurl4-gnutls-dev:riscv64 (7.81.0-1) ... Selecting previously unselected package pkg-config. Preparing to unpack .../083-pkg-config_0.29.2-1ubuntu3_riscv64.deb ... Unpacking pkg-config (0.29.2-1ubuntu3) ... Selecting previously unselected package libdbus-1-dev:riscv64. Preparing to unpack .../084-libdbus-1-dev_1.12.20-2ubuntu4_riscv64.deb ... Unpacking libdbus-1-dev:riscv64 (1.12.20-2ubuntu4) ... Selecting previously unselected package libwayland-client0:riscv64. Preparing to unpack .../085-libwayland-client0_1.20.0-1_riscv64.deb ... Unpacking libwayland-client0:riscv64 (1.20.0-1) ... Selecting previously unselected package libdecor-0-0:riscv64. Preparing to unpack .../086-libdecor-0-0_0.1.0-3build1_riscv64.deb ... Unpacking libdecor-0-0:riscv64 (0.1.0-3build1) ... Selecting previously unselected package libdrm-nouveau2:riscv64. Preparing to unpack .../087-libdrm-nouveau2_2.4.110-1ubuntu1_riscv64.deb ... Unpacking libdrm-nouveau2:riscv64 (2.4.110-1ubuntu1) ... Selecting previously unselected package libdrm-radeon1:riscv64. Preparing to unpack .../088-libdrm-radeon1_2.4.110-1ubuntu1_riscv64.deb ... Unpacking libdrm-radeon1:riscv64 (2.4.110-1ubuntu1) ... Selecting previously unselected package libglvnd0:riscv64. Preparing to unpack .../089-libglvnd0_1.4.0-1_riscv64.deb ... Unpacking libglvnd0:riscv64 (1.4.0-1) ... Selecting previously unselected package libwayland-server0:riscv64. Preparing to unpack .../090-libwayland-server0_1.20.0-1_riscv64.deb ... Unpacking libwayland-server0:riscv64 (1.20.0-1) ... Selecting previously unselected package libgbm1:riscv64. Preparing to unpack .../091-libgbm1_22.0.1-1ubuntu2_riscv64.deb ... Unpacking libgbm1:riscv64 (22.0.1-1ubuntu2) ... Selecting previously unselected package libglapi-mesa:riscv64. Preparing to unpack .../092-libglapi-mesa_22.0.1-1ubuntu2_riscv64.deb ... Unpacking libglapi-mesa:riscv64 (22.0.1-1ubuntu2) ... Selecting previously unselected package libx11-xcb1:riscv64. Preparing to unpack .../093-libx11-xcb1_2%3a1.7.5-1_riscv64.deb ... Unpacking libx11-xcb1:riscv64 (2:1.7.5-1) ... Selecting previously unselected package libxcb-dri2-0:riscv64. Preparing to unpack .../094-libxcb-dri2-0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-dri2-0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxcb-dri3-0:riscv64. Preparing to unpack .../095-libxcb-dri3-0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-dri3-0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxcb-present0:riscv64. Preparing to unpack .../096-libxcb-present0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-present0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxcb-sync1:riscv64. Preparing to unpack .../097-libxcb-sync1_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-sync1:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxcb-xfixes0:riscv64. Preparing to unpack .../098-libxcb-xfixes0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-xfixes0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxshmfence1:riscv64. Preparing to unpack .../099-libxshmfence1_1.3-1build4_riscv64.deb ... Unpacking libxshmfence1:riscv64 (1.3-1build4) ... Selecting previously unselected package libegl-mesa0:riscv64. Preparing to unpack .../100-libegl-mesa0_22.0.1-1ubuntu2_riscv64.deb ... Unpacking libegl-mesa0:riscv64 (22.0.1-1ubuntu2) ... Selecting previously unselected package libegl1:riscv64. Preparing to unpack .../101-libegl1_1.4.0-1_riscv64.deb ... Unpacking libegl1:riscv64 (1.4.0-1) ... Selecting previously unselected package libxcb-glx0:riscv64. Preparing to unpack .../102-libxcb-glx0_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb-glx0:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libxfixes3:riscv64. Preparing to unpack .../103-libxfixes3_1%3a6.0.0-1_riscv64.deb ... Unpacking libxfixes3:riscv64 (1:6.0.0-1) ... Selecting previously unselected package libxxf86vm1:riscv64. Preparing to unpack .../104-libxxf86vm1_1%3a1.1.4-1build3_riscv64.deb ... Unpacking libxxf86vm1:riscv64 (1:1.1.4-1build3) ... Selecting previously unselected package libsensors-config. Preparing to unpack .../105-libsensors-config_1%3a3.6.0-7ubuntu1_all.deb ... Unpacking libsensors-config (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libsensors5:riscv64. Preparing to unpack .../106-libsensors5_1%3a3.6.0-7ubuntu1_riscv64.deb ... Unpacking libsensors5:riscv64 (1:3.6.0-7ubuntu1) ... Selecting previously unselected package libvulkan1:riscv64. Preparing to unpack .../107-libvulkan1_1.3.204.1-2_riscv64.deb ... Unpacking libvulkan1:riscv64 (1.3.204.1-2) ... Selecting previously unselected package libgl1-mesa-dri:riscv64. Preparing to unpack .../108-libgl1-mesa-dri_22.0.1-1ubuntu2_riscv64.deb ... Unpacking libgl1-mesa-dri:riscv64 (22.0.1-1ubuntu2) ... Selecting previously unselected package libglx-mesa0:riscv64. Preparing to unpack .../109-libglx-mesa0_22.0.1-1ubuntu2_riscv64.deb ... Unpacking libglx-mesa0:riscv64 (22.0.1-1ubuntu2) ... Selecting previously unselected package libglx0:riscv64. Preparing to unpack .../110-libglx0_1.4.0-1_riscv64.deb ... Unpacking libglx0:riscv64 (1.4.0-1) ... Selecting previously unselected package libgl1:riscv64. Preparing to unpack .../111-libgl1_1.4.0-1_riscv64.deb ... Unpacking libgl1:riscv64 (1.4.0-1) ... Selecting previously unselected package xorg-sgml-doctools. Preparing to unpack .../112-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 .../113-x11proto-dev_2021.5-1_all.deb ... Unpacking x11proto-dev (2021.5-1) ... Selecting previously unselected package libxau-dev:riscv64. Preparing to unpack .../114-libxau-dev_1%3a1.0.9-1build5_riscv64.deb ... Unpacking libxau-dev:riscv64 (1:1.0.9-1build5) ... Selecting previously unselected package libxdmcp-dev:riscv64. Preparing to unpack .../115-libxdmcp-dev_1%3a1.1.3-0ubuntu5_riscv64.deb ... Unpacking libxdmcp-dev:riscv64 (1:1.1.3-0ubuntu5) ... Selecting previously unselected package xtrans-dev. Preparing to unpack .../116-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 .../117-libpthread-stubs0-dev_0.4-1build2_riscv64.deb ... Unpacking libpthread-stubs0-dev:riscv64 (0.4-1build2) ... Selecting previously unselected package libxcb1-dev:riscv64. Preparing to unpack .../118-libxcb1-dev_1.14-3ubuntu3_riscv64.deb ... Unpacking libxcb1-dev:riscv64 (1.14-3ubuntu3) ... Selecting previously unselected package libx11-dev:riscv64. Preparing to unpack .../119-libx11-dev_2%3a1.7.5-1_riscv64.deb ... Unpacking libx11-dev:riscv64 (2:1.7.5-1) ... Selecting previously unselected package libglx-dev:riscv64. Preparing to unpack .../120-libglx-dev_1.4.0-1_riscv64.deb ... Unpacking libglx-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libgl-dev:riscv64. Preparing to unpack .../121-libgl-dev_1.4.0-1_riscv64.deb ... Unpacking libgl-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libegl-dev:riscv64. Preparing to unpack .../122-libegl-dev_1.4.0-1_riscv64.deb ... Unpacking libegl-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libglvnd-core-dev:riscv64. Preparing to unpack .../123-libglvnd-core-dev_1.4.0-1_riscv64.deb ... Unpacking libglvnd-core-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libgles1:riscv64. Preparing to unpack .../124-libgles1_1.4.0-1_riscv64.deb ... Unpacking libgles1:riscv64 (1.4.0-1) ... Selecting previously unselected package libgles2:riscv64. Preparing to unpack .../125-libgles2_1.4.0-1_riscv64.deb ... Unpacking libgles2:riscv64 (1.4.0-1) ... Selecting previously unselected package libgles-dev:riscv64. Preparing to unpack .../126-libgles-dev_1.4.0-1_riscv64.deb ... Unpacking libgles-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libopengl0:riscv64. Preparing to unpack .../127-libopengl0_1.4.0-1_riscv64.deb ... Unpacking libopengl0:riscv64 (1.4.0-1) ... Selecting previously unselected package libopengl-dev:riscv64. Preparing to unpack .../128-libopengl-dev_1.4.0-1_riscv64.deb ... Unpacking libopengl-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libglvnd-dev:riscv64. Preparing to unpack .../129-libglvnd-dev_1.4.0-1_riscv64.deb ... Unpacking libglvnd-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libegl1-mesa-dev:riscv64. Preparing to unpack .../130-libegl1-mesa-dev_22.0.1-1ubuntu2_riscv64.deb ... Unpacking libegl1-mesa-dev:riscv64 (22.0.1-1ubuntu2) ... Selecting previously unselected package libogg0:riscv64. Preparing to unpack .../131-libogg0_1.3.5-0ubuntu3_riscv64.deb ... Unpacking libogg0:riscv64 (1.3.5-0ubuntu3) ... Selecting previously unselected package libflac8:riscv64. Preparing to unpack .../132-libflac8_1.3.3-2build2_riscv64.deb ... Unpacking libflac8:riscv64 (1.3.3-2build2) ... Selecting previously unselected package libopus0:riscv64. Preparing to unpack .../133-libopus0_1.3.1-0.1build2_riscv64.deb ... Unpacking libopus0:riscv64 (1.3.1-0.1build2) ... Selecting previously unselected package libvorbis0a:riscv64. Preparing to unpack .../134-libvorbis0a_1.3.7-1build2_riscv64.deb ... Unpacking libvorbis0a:riscv64 (1.3.7-1build2) ... Selecting previously unselected package libvorbisenc2:riscv64. Preparing to unpack .../135-libvorbisenc2_1.3.7-1build2_riscv64.deb ... Unpacking libvorbisenc2:riscv64 (1.3.7-1build2) ... Selecting previously unselected package libsndfile1:riscv64. Preparing to unpack .../136-libsndfile1_1.0.31-2build1_riscv64.deb ... Unpacking libsndfile1:riscv64 (1.0.31-2build1) ... Selecting previously unselected package libinstpatch-1.0-2:riscv64. Preparing to unpack .../137-libinstpatch-1.0-2_1.1.6-1_riscv64.deb ... Unpacking libinstpatch-1.0-2:riscv64 (1.1.6-1) ... Selecting previously unselected package libsamplerate0:riscv64. Preparing to unpack .../138-libsamplerate0_0.2.2-1build1_riscv64.deb ... Unpacking libsamplerate0:riscv64 (0.2.2-1build1) ... Selecting previously unselected package libjack-jackd2-0:riscv64. Preparing to unpack .../139-libjack-jackd2-0_1.9.20~dfsg-1_riscv64.deb ... Unpacking libjack-jackd2-0:riscv64 (1.9.20~dfsg-1) ... Selecting previously unselected package libpulse0:riscv64. Preparing to unpack .../140-libpulse0_1%3a15.99.1+dfsg1-1ubuntu1_riscv64.deb ... Unpacking libpulse0:riscv64 (1:15.99.1+dfsg1-1ubuntu1) ... Selecting previously unselected package libwayland-cursor0:riscv64. Preparing to unpack .../141-libwayland-cursor0_1.20.0-1_riscv64.deb ... Unpacking libwayland-cursor0:riscv64 (1.20.0-1) ... Selecting previously unselected package libwayland-egl1:riscv64. Preparing to unpack .../142-libwayland-egl1_1.20.0-1_riscv64.deb ... Unpacking libwayland-egl1:riscv64 (1.20.0-1) ... Selecting previously unselected package libxcursor1:riscv64. Preparing to unpack .../143-libxcursor1_1%3a1.2.0-2build4_riscv64.deb ... Unpacking libxcursor1:riscv64 (1:1.2.0-2build4) ... Selecting previously unselected package libxi6:riscv64. Preparing to unpack .../144-libxi6_2%3a1.8-1build1_riscv64.deb ... Unpacking libxi6:riscv64 (2:1.8-1build1) ... Selecting previously unselected package libxinerama1:riscv64. Preparing to unpack .../145-libxinerama1_2%3a1.1.4-3_riscv64.deb ... Unpacking libxinerama1:riscv64 (2:1.1.4-3) ... Selecting previously unselected package libxkbcommon0:riscv64. Preparing to unpack .../146-libxkbcommon0_1.4.0-1_riscv64.deb ... Unpacking libxkbcommon0:riscv64 (1.4.0-1) ... Selecting previously unselected package libxrandr2:riscv64. Preparing to unpack .../147-libxrandr2_2%3a1.5.2-1build1_riscv64.deb ... Unpacking libxrandr2:riscv64 (2:1.5.2-1build1) ... Selecting previously unselected package x11-common. Preparing to unpack .../148-x11-common_1%3a7.7+23ubuntu2_all.deb ... Unpacking x11-common (1:7.7+23ubuntu2) ... Selecting previously unselected package libxss1:riscv64. Preparing to unpack .../149-libxss1_1%3a1.2.3-1build2_riscv64.deb ... Unpacking libxss1:riscv64 (1:1.2.3-1build2) ... Selecting previously unselected package libsdl2-2.0-0:riscv64. Preparing to unpack .../150-libsdl2-2.0-0_2.0.20+dfsg-2build1_riscv64.deb ... Unpacking libsdl2-2.0-0:riscv64 (2.0.20+dfsg-2build1) ... Selecting previously unselected package timgm6mb-soundfont. Preparing to unpack .../151-timgm6mb-soundfont_1.3-5_all.deb ... Unpacking timgm6mb-soundfont (1.3-5) ... Selecting previously unselected package libfluidsynth3:riscv64. Preparing to unpack .../152-libfluidsynth3_2.2.5-1_riscv64.deb ... Unpacking libfluidsynth3:riscv64 (2.2.5-1) ... Selecting previously unselected package libglib2.0-bin. Preparing to unpack .../153-libglib2.0-bin_2.72.1-1_riscv64.deb ... Unpacking libglib2.0-bin (2.72.1-1) ... Selecting previously unselected package libffi-dev:riscv64. Preparing to unpack .../154-libffi-dev_3.4.2-4_riscv64.deb ... Unpacking libffi-dev:riscv64 (3.4.2-4) ... Selecting previously unselected package python3-lib2to3. Preparing to unpack .../155-python3-lib2to3_3.10.4-0ubuntu1_all.deb ... Unpacking python3-lib2to3 (3.10.4-0ubuntu1) ... Selecting previously unselected package python3-distutils. Preparing to unpack .../156-python3-distutils_3.10.4-0ubuntu1_all.deb ... Unpacking python3-distutils (3.10.4-0ubuntu1) ... Selecting previously unselected package libglib2.0-dev-bin. Preparing to unpack .../157-libglib2.0-dev-bin_2.72.1-1_riscv64.deb ... Unpacking libglib2.0-dev-bin (2.72.1-1) ... Selecting previously unselected package uuid-dev:riscv64. Preparing to unpack .../158-uuid-dev_2.37.2-4ubuntu3_riscv64.deb ... Unpacking uuid-dev:riscv64 (2.37.2-4ubuntu3) ... Selecting previously unselected package libblkid-dev:riscv64. Preparing to unpack .../159-libblkid-dev_2.37.2-4ubuntu3_riscv64.deb ... Unpacking libblkid-dev:riscv64 (2.37.2-4ubuntu3) ... Selecting previously unselected package libsepol-dev:riscv64. Preparing to unpack .../160-libsepol-dev_3.3-1build1_riscv64.deb ... Unpacking libsepol-dev:riscv64 (3.3-1build1) ... Selecting previously unselected package libpcre2-16-0:riscv64. Preparing to unpack .../161-libpcre2-16-0_10.39-3build1_riscv64.deb ... Unpacking libpcre2-16-0:riscv64 (10.39-3build1) ... Selecting previously unselected package libpcre2-32-0:riscv64. Preparing to unpack .../162-libpcre2-32-0_10.39-3build1_riscv64.deb ... Unpacking libpcre2-32-0:riscv64 (10.39-3build1) ... Selecting previously unselected package libpcre2-posix3:riscv64. Preparing to unpack .../163-libpcre2-posix3_10.39-3build1_riscv64.deb ... Unpacking libpcre2-posix3:riscv64 (10.39-3build1) ... Selecting previously unselected package libpcre2-dev:riscv64. Preparing to unpack .../164-libpcre2-dev_10.39-3build1_riscv64.deb ... Unpacking libpcre2-dev:riscv64 (10.39-3build1) ... Selecting previously unselected package libselinux1-dev:riscv64. Preparing to unpack .../165-libselinux1-dev_3.3-1build2_riscv64.deb ... Unpacking libselinux1-dev:riscv64 (3.3-1build2) ... Selecting previously unselected package libmount-dev:riscv64. Preparing to unpack .../166-libmount-dev_2.37.2-4ubuntu3_riscv64.deb ... Unpacking libmount-dev:riscv64 (2.37.2-4ubuntu3) ... Selecting previously unselected package libpcre16-3:riscv64. Preparing to unpack .../167-libpcre16-3_2%3a8.39-13build5_riscv64.deb ... Unpacking libpcre16-3:riscv64 (2:8.39-13build5) ... Selecting previously unselected package libpcre32-3:riscv64. Preparing to unpack .../168-libpcre32-3_2%3a8.39-13build5_riscv64.deb ... Unpacking libpcre32-3:riscv64 (2:8.39-13build5) ... Selecting previously unselected package libpcrecpp0v5:riscv64. Preparing to unpack .../169-libpcrecpp0v5_2%3a8.39-13build5_riscv64.deb ... Unpacking libpcrecpp0v5:riscv64 (2:8.39-13build5) ... Selecting previously unselected package libpcre3-dev:riscv64. Preparing to unpack .../170-libpcre3-dev_2%3a8.39-13build5_riscv64.deb ... Unpacking libpcre3-dev:riscv64 (2:8.39-13build5) ... Selecting previously unselected package zlib1g-dev:riscv64. Preparing to unpack .../171-zlib1g-dev_1%3a1.2.11.dfsg-2ubuntu9_riscv64.deb ... Unpacking zlib1g-dev:riscv64 (1:1.2.11.dfsg-2ubuntu9) ... Selecting previously unselected package libglib2.0-dev:riscv64. Preparing to unpack .../172-libglib2.0-dev_2.72.1-1_riscv64.deb ... Unpacking libglib2.0-dev:riscv64 (2.72.1-1) ... Selecting previously unselected package libglu1-mesa:riscv64. Preparing to unpack .../173-libglu1-mesa_9.0.2-1_riscv64.deb ... Unpacking libglu1-mesa:riscv64 (9.0.2-1) ... Selecting previously unselected package libglu1-mesa-dev:riscv64. Preparing to unpack .../174-libglu1-mesa-dev_9.0.2-1_riscv64.deb ... Unpacking libglu1-mesa-dev:riscv64 (9.0.2-1) ... Selecting previously unselected package libgraphite2-3:riscv64. Preparing to unpack .../175-libgraphite2-3_1.3.14-1build2_riscv64.deb ... Unpacking libgraphite2-3:riscv64 (1.3.14-1build2) ... Selecting previously unselected package libharfbuzz0b:riscv64. Preparing to unpack .../176-libharfbuzz0b_2.7.4-1ubuntu3_riscv64.deb ... Unpacking libharfbuzz0b:riscv64 (2.7.4-1ubuntu3) ... Selecting previously unselected package libibus-1.0-dev:riscv64. Preparing to unpack .../177-libibus-1.0-dev_1.5.26-4_riscv64.deb ... Unpacking libibus-1.0-dev:riscv64 (1.5.26-4) ... Selecting previously unselected package libice6:riscv64. Preparing to unpack .../178-libice6_2%3a1.0.10-1build2_riscv64.deb ... Unpacking libice6:riscv64 (2:1.0.10-1build2) ... Selecting previously unselected package libice-dev:riscv64. Preparing to unpack .../179-libice-dev_2%3a1.0.10-1build2_riscv64.deb ... Unpacking libice-dev:riscv64 (2:1.0.10-1build2) ... Selecting previously unselected package libicu-dev:riscv64. Preparing to unpack .../180-libicu-dev_70.1-2_riscv64.deb ... Unpacking libicu-dev:riscv64 (70.1-2) ... Selecting previously unselected package libjpeg-turbo8:riscv64. Preparing to unpack .../181-libjpeg-turbo8_2.1.2-0ubuntu1_riscv64.deb ... Unpacking libjpeg-turbo8:riscv64 (2.1.2-0ubuntu1) ... Selecting previously unselected package libjpeg-turbo8-dev:riscv64. Preparing to unpack .../182-libjpeg-turbo8-dev_2.1.2-0ubuntu1_riscv64.deb ... Unpacking libjpeg-turbo8-dev:riscv64 (2.1.2-0ubuntu1) ... Selecting previously unselected package libjpeg8:riscv64. Preparing to unpack .../183-libjpeg8_8c-2ubuntu10_riscv64.deb ... Unpacking libjpeg8:riscv64 (8c-2ubuntu10) ... Selecting previously unselected package libjpeg8-dev:riscv64. Preparing to unpack .../184-libjpeg8-dev_8c-2ubuntu10_riscv64.deb ... Unpacking libjpeg8-dev:riscv64 (8c-2ubuntu10) ... Selecting previously unselected package libjpeg-dev:riscv64. Preparing to unpack .../185-libjpeg-dev_8c-2ubuntu10_riscv64.deb ... Unpacking libjpeg-dev:riscv64 (8c-2ubuntu10) ... Selecting previously unselected package libkpathsea6:riscv64. Preparing to unpack .../186-libkpathsea6_2021.20210626.59705-1build1_riscv64.deb ... Unpacking libkpathsea6:riscv64 (2021.20210626.59705-1build1) ... Selecting previously unselected package libmodplug1:riscv64. Preparing to unpack .../187-libmodplug1_1%3a0.8.9.0-3_riscv64.deb ... Unpacking libmodplug1:riscv64 (1:0.8.9.0-3) ... Selecting previously unselected package libmpg123-0:riscv64. Preparing to unpack .../188-libmpg123-0_1.29.3-1build1_riscv64.deb ... Unpacking libmpg123-0:riscv64 (1.29.3-1build1) ... Selecting previously unselected package libmxml1:riscv64. Preparing to unpack .../189-libmxml1_3.3-1_riscv64.deb ... Unpacking libmxml1:riscv64 (3.3-1) ... Selecting previously unselected package libmxml-dev:riscv64. Preparing to unpack .../190-libmxml-dev_3.3-1_riscv64.deb ... Unpacking libmxml-dev:riscv64 (3.3-1) ... Selecting previously unselected package libogg-dev:riscv64. Preparing to unpack .../191-libogg-dev_1.3.5-0ubuntu3_riscv64.deb ... Unpacking libogg-dev:riscv64 (1.3.5-0ubuntu3) ... Selecting previously unselected package libopenal-data. Preparing to unpack .../192-libopenal-data_1%3a1.19.1-2build3_all.deb ... Unpacking libopenal-data (1:1.19.1-2build3) ... Selecting previously unselected package libsndio7.0:riscv64. Preparing to unpack .../193-libsndio7.0_1.8.1-1.1_riscv64.deb ... Unpacking libsndio7.0:riscv64 (1.8.1-1.1) ... Selecting previously unselected package libopenal1:riscv64. Preparing to unpack .../194-libopenal1_1%3a1.19.1-2build3_riscv64.deb ... Unpacking libopenal1:riscv64 (1:1.19.1-2build3) ... Selecting previously unselected package libopenal-dev:riscv64. Preparing to unpack .../195-libopenal-dev_1%3a1.19.1-2build3_riscv64.deb ... Unpacking libopenal-dev:riscv64 (1:1.19.1-2build3) ... Selecting previously unselected package libopusfile0. Preparing to unpack .../196-libopusfile0_0.9+20170913-1.1build1_riscv64.deb ... Unpacking libopusfile0 (0.9+20170913-1.1build1) ... Selecting previously unselected package libpaper1:riscv64. Preparing to unpack .../197-libpaper1_1.1.28build2_riscv64.deb ... Unpacking libpaper1:riscv64 (1.1.28build2) ... Selecting previously unselected package libpaper-utils. Preparing to unpack .../198-libpaper-utils_1.1.28build2_riscv64.deb ... Unpacking libpaper-utils (1.1.28build2) ... Selecting previously unselected package libpng-dev:riscv64. Preparing to unpack .../199-libpng-dev_1.6.37-3build5_riscv64.deb ... Unpacking libpng-dev:riscv64 (1.6.37-3build5) ... Selecting previously unselected package libptexenc1:riscv64. Preparing to unpack .../200-libptexenc1_2021.20210626.59705-1build1_riscv64.deb ... Unpacking libptexenc1:riscv64 (2021.20210626.59705-1build1) ... Selecting previously unselected package libpulse-mainloop-glib0:riscv64. Preparing to unpack .../201-libpulse-mainloop-glib0_1%3a15.99.1+dfsg1-1ubuntu1_riscv64.deb ... Unpacking libpulse-mainloop-glib0:riscv64 (1:15.99.1+dfsg1-1ubuntu1) ... Selecting previously unselected package libpulse-dev:riscv64. Preparing to unpack .../202-libpulse-dev_1%3a15.99.1+dfsg1-1ubuntu1_riscv64.deb ... Unpacking libpulse-dev:riscv64 (1:15.99.1+dfsg1-1ubuntu1) ... Selecting previously unselected package libsndio-dev:riscv64. Preparing to unpack .../203-libsndio-dev_1.8.1-1.1_riscv64.deb ... Unpacking libsndio-dev:riscv64 (1.8.1-1.1) ... Selecting previously unselected package libudev-dev:riscv64. Preparing to unpack .../204-libudev-dev_249.11-0ubuntu3_riscv64.deb ... Unpacking libudev-dev:riscv64 (249.11-0ubuntu3) ... Selecting previously unselected package libwayland-bin. Preparing to unpack .../205-libwayland-bin_1.20.0-1_riscv64.deb ... Unpacking libwayland-bin (1.20.0-1) ... Selecting previously unselected package libwayland-dev:riscv64. Preparing to unpack .../206-libwayland-dev_1.20.0-1_riscv64.deb ... Unpacking libwayland-dev:riscv64 (1.20.0-1) ... Selecting previously unselected package libxrender-dev:riscv64. Preparing to unpack .../207-libxrender-dev_1%3a0.9.10-1build4_riscv64.deb ... Unpacking libxrender-dev:riscv64 (1:0.9.10-1build4) ... Selecting previously unselected package libxfixes-dev:riscv64. Preparing to unpack .../208-libxfixes-dev_1%3a6.0.0-1_riscv64.deb ... Unpacking libxfixes-dev:riscv64 (1:6.0.0-1) ... Selecting previously unselected package libxcursor-dev:riscv64. Preparing to unpack .../209-libxcursor-dev_1%3a1.2.0-2build4_riscv64.deb ... Unpacking libxcursor-dev:riscv64 (1:1.2.0-2build4) ... Selecting previously unselected package libxext-dev:riscv64. Preparing to unpack .../210-libxext-dev_2%3a1.3.4-1build1_riscv64.deb ... Unpacking libxext-dev:riscv64 (2:1.3.4-1build1) ... Selecting previously unselected package libxi-dev:riscv64. Preparing to unpack .../211-libxi-dev_2%3a1.8-1build1_riscv64.deb ... Unpacking libxi-dev:riscv64 (2:1.8-1build1) ... Selecting previously unselected package libxinerama-dev:riscv64. Preparing to unpack .../212-libxinerama-dev_2%3a1.1.4-3_riscv64.deb ... Unpacking libxinerama-dev:riscv64 (2:1.1.4-3) ... Selecting previously unselected package libxkbcommon-dev:riscv64. Preparing to unpack .../213-libxkbcommon-dev_1.4.0-1_riscv64.deb ... Unpacking libxkbcommon-dev:riscv64 (1.4.0-1) ... Selecting previously unselected package libxrandr-dev:riscv64. Preparing to unpack .../214-libxrandr-dev_2%3a1.5.2-1build1_riscv64.deb ... Unpacking libxrandr-dev:riscv64 (2:1.5.2-1build1) ... Selecting previously unselected package libxss-dev:riscv64. Preparing to unpack .../215-libxss-dev_1%3a1.2.3-1build2_riscv64.deb ... Unpacking libxss-dev:riscv64 (1:1.2.3-1build2) ... Selecting previously unselected package libsm6:riscv64. Preparing to unpack .../216-libsm6_2%3a1.2.3-1build2_riscv64.deb ... Unpacking libsm6:riscv64 (2:1.2.3-1build2) ... Selecting previously unselected package libxt6:riscv64. Preparing to unpack .../217-libxt6_1%3a1.2.1-1_riscv64.deb ... Unpacking libxt6:riscv64 (1:1.2.1-1) ... Selecting previously unselected package libsm-dev:riscv64. Preparing to unpack .../218-libsm-dev_2%3a1.2.3-1build2_riscv64.deb ... Unpacking libsm-dev:riscv64 (2:1.2.3-1build2) ... Selecting previously unselected package libxt-dev:riscv64. Preparing to unpack .../219-libxt-dev_1%3a1.2.1-1_riscv64.deb ... Unpacking libxt-dev:riscv64 (1:1.2.1-1) ... Selecting previously unselected package libxv1:riscv64. Preparing to unpack .../220-libxv1_2%3a1.0.11-1build2_riscv64.deb ... Unpacking libxv1:riscv64 (2:1.0.11-1build2) ... Selecting previously unselected package libxv-dev:riscv64. Preparing to unpack .../221-libxv-dev_2%3a1.0.11-1build2_riscv64.deb ... Unpacking libxv-dev:riscv64 (2:1.0.11-1build2) ... Selecting previously unselected package libxxf86vm-dev:riscv64. Preparing to unpack .../222-libxxf86vm-dev_1%3a1.1.4-1build3_riscv64.deb ... Unpacking libxxf86vm-dev:riscv64 (1:1.1.4-1build3) ... Selecting previously unselected package libsdl2-dev:riscv64. Preparing to unpack .../223-libsdl2-dev_2.0.20+dfsg-2build1_riscv64.deb ... Unpacking libsdl2-dev:riscv64 (2.0.20+dfsg-2build1) ... Selecting previously unselected package libvorbisfile3:riscv64. Preparing to unpack .../224-libvorbisfile3_1.3.7-1build2_riscv64.deb ... Unpacking libvorbisfile3:riscv64 (1.3.7-1build2) ... Selecting previously unselected package libsdl2-mixer-2.0-0:riscv64. Preparing to unpack .../225-libsdl2-mixer-2.0-0_2.0.4+dfsg1-4build1_riscv64.deb ... Unpacking libsdl2-mixer-2.0-0:riscv64 (2.0.4+dfsg1-4build1) ... Selecting previously unselected package libsdl2-mixer-dev:riscv64. Preparing to unpack .../226-libsdl2-mixer-dev_2.0.4+dfsg1-4build1_riscv64.deb ... Unpacking libsdl2-mixer-dev:riscv64 (2.0.4+dfsg1-4build1) ... Selecting previously unselected package libsdl2-ttf-2.0-0:riscv64. Preparing to unpack .../227-libsdl2-ttf-2.0-0_2.0.18+dfsg-2_riscv64.deb ... Unpacking libsdl2-ttf-2.0-0:riscv64 (2.0.18+dfsg-2) ... Selecting previously unselected package libsdl2-ttf-dev:riscv64. Preparing to unpack .../228-libsdl2-ttf-dev_2.0.18+dfsg-2_riscv64.deb ... Unpacking libsdl2-ttf-dev:riscv64 (2.0.18+dfsg-2) ... Selecting previously unselected package libsynctex2:riscv64. Preparing to unpack .../229-libsynctex2_2021.20210626.59705-1build1_riscv64.deb ... Unpacking libsynctex2:riscv64 (2021.20210626.59705-1build1) ... Selecting previously unselected package libteckit0:riscv64. Preparing to unpack .../230-libteckit0_2.5.11+ds1-1_riscv64.deb ... Unpacking libteckit0:riscv64 (2.5.11+ds1-1) ... Selecting previously unselected package libtexlua53:riscv64. Preparing to unpack .../231-libtexlua53_2021.20210626.59705-1build1_riscv64.deb ... Unpacking libtexlua53:riscv64 (2021.20210626.59705-1build1) ... Selecting previously unselected package libtheora0:riscv64. Preparing to unpack .../232-libtheora0_1.1.1+dfsg.1-15ubuntu4_riscv64.deb ... Unpacking libtheora0:riscv64 (1.1.1+dfsg.1-15ubuntu4) ... Selecting previously unselected package libtheora-dev:riscv64. Preparing to unpack .../233-libtheora-dev_1.1.1+dfsg.1-15ubuntu4_riscv64.deb ... Unpacking libtheora-dev:riscv64 (1.1.1+dfsg.1-15ubuntu4) ... Selecting previously unselected package libvorbis-dev:riscv64. Preparing to unpack .../234-libvorbis-dev_1.3.7-1build2_riscv64.deb ... Unpacking libvorbis-dev:riscv64 (1.3.7-1build2) ... Selecting previously unselected package libxmu6:riscv64. Preparing to unpack .../235-libxmu6_2%3a1.1.3-3_riscv64.deb ... Unpacking libxmu6:riscv64 (2:1.1.3-3) ... Selecting previously unselected package libxpm4:riscv64. Preparing to unpack .../236-libxpm4_1%3a3.5.12-1build2_riscv64.deb ... Unpacking libxpm4:riscv64 (1:3.5.12-1build2) ... Selecting previously unselected package libxaw7:riscv64. Preparing to unpack .../237-libxaw7_2%3a1.0.14-1_riscv64.deb ... Unpacking libxaw7:riscv64 (2:1.0.14-1) ... Selecting previously unselected package libxml2-dev:riscv64. Preparing to unpack .../238-libxml2-dev_2.9.13+dfsg-1build1_riscv64.deb ... Unpacking libxml2-dev:riscv64 (2.9.13+dfsg-1build1) ... Selecting previously unselected package libxvidcore4:riscv64. Preparing to unpack .../239-libxvidcore4_2%3a1.3.7-1_riscv64.deb ... Unpacking libxvidcore4:riscv64 (2:1.3.7-1) ... Selecting previously unselected package libxvidcore-dev:riscv64. Preparing to unpack .../240-libxvidcore-dev_2%3a1.3.7-1_riscv64.deb ... Unpacking libxvidcore-dev:riscv64 (2:1.3.7-1) ... Selecting previously unselected package libzzip-0-13:riscv64. Preparing to unpack .../241-libzzip-0-13_0.13.72+dfsg.1-1.1_riscv64.deb ... Unpacking libzzip-0-13:riscv64 (0.13.72+dfsg.1-1.1) ... Selecting previously unselected package preview-latex-style. Preparing to unpack .../242-preview-latex-style_12.2-1ubuntu1_all.deb ... Unpacking preview-latex-style (12.2-1ubuntu1) ... Selecting previously unselected package t1utils. Preparing to unpack .../243-t1utils_1.41-4build2_riscv64.deb ... Unpacking t1utils (1.41-4build2) ... Selecting previously unselected package texlive-binaries. Preparing to unpack .../244-texlive-binaries_2021.20210626.59705-1build1_riscv64.deb ... Unpacking texlive-binaries (2021.20210626.59705-1build1) ... Selecting previously unselected package xdg-utils. Preparing to unpack .../245-xdg-utils_1.1.3-4.1ubuntu1_all.deb ... Unpacking xdg-utils (1.1.3-4.1ubuntu1) ... Selecting previously unselected package texlive-base. Preparing to unpack .../246-texlive-base_2021.20220204-1_all.deb ... Unpacking texlive-base (2021.20220204-1) ... Selecting previously unselected package texlive-latex-base. Preparing to unpack .../247-texlive-latex-base_2021.20220204-1_all.deb ... Unpacking texlive-latex-base (2021.20220204-1) ... Selecting previously unselected package libfontbox-java. Preparing to unpack .../248-libfontbox-java_1%3a1.8.16-2_all.deb ... Unpacking libfontbox-java (1:1.8.16-2) ... Selecting previously unselected package libpdfbox-java. Preparing to unpack .../249-libpdfbox-java_1%3a1.8.16-2_all.deb ... Unpacking libpdfbox-java (1:1.8.16-2) ... Selecting previously unselected package texlive-latex-recommended. Preparing to unpack .../250-texlive-latex-recommended_2021.20220204-1_all.deb ... Unpacking texlive-latex-recommended (2021.20220204-1) ... Selecting previously unselected package texlive-pictures. Preparing to unpack .../251-texlive-pictures_2021.20220204-1_all.deb ... Unpacking texlive-pictures (2021.20220204-1) ... Selecting previously unselected package texlive-latex-extra. Preparing to unpack .../252-texlive-latex-extra_2021.20220204-1_all.deb ... Unpacking texlive-latex-extra (2021.20220204-1) ... Selecting previously unselected package zip. Preparing to unpack .../253-zip_3.0-12build2_riscv64.deb ... Unpacking zip (3.0-12build2) ... Selecting previously unselected package sbuild-build-depends-main-dummy. Preparing to unpack .../254-sbuild-build-depends-main-dummy_0.invalid.0_riscv64.deb ... Unpacking sbuild-build-depends-main-dummy (0.invalid.0) ... Setting up libpcrecpp0v5:riscv64 (2:8.39-13build5) ... Setting up libpipeline1:riscv64 (1.5.5-1) ... Setting up libgraphite2-3:riscv64 (1.3.14-1build2) ... Setting up libpixman-1-0:riscv64 (0.40.0-1build4) ... Setting up libmodplug1:riscv64 (1:0.8.9.0-3) ... Setting up libwayland-server0:riscv64 (1.20.0-1) ... Setting up libxau6:riscv64 (1:1.0.9-1build5) ... Setting up libpsl5:riscv64 (0.21.0-1.2build2) ... Setting up libmpg123-0:riscv64 (1.29.3-1build1) ... Setting up libogg0:riscv64 (1.3.5-0ubuntu3) ... Setting up bsdextrautils (2.37.2-4ubuntu3) ... update-alternatives: using /usr/bin/write.ul to provide /usr/bin/write (write) in auto mode Setting up libglvnd-core-dev:riscv64 (1.4.0-1) ... Setting up libpcre16-3:riscv64 (2:8.39-13build5) ... Setting up libmagic-mgc (1:5.41-3) ... Setting up libtexlua53:riscv64 (2021.20210626.59705-1build1) ... Setting up libarchive-zip-perl (1.68-1) ... Setting up libglib2.0-0:riscv64 (2.72.1-1) ... No schema files found: doing nothing. Setting up libglvnd0:riscv64 (1.4.0-1) ... Setting up libdebhelper-perl (13.6ubuntu1) ... Setting up libbrotli1:riscv64 (1.0.9-2build6) ... Setting up libfontbox-java (1:1.8.16-2) ... Setting up libibus-1.0-5:riscv64 (1.5.26-4) ... Setting up x11-common (1:7.7+23ubuntu2) ... Running in chroot, ignoring request. invoke-rc.d: policy-rc.d denied execution of start. Setting up libsensors-config (1:3.6.0-7ubuntu1) ... Setting up libnghttp2-14:riscv64 (1.43.0-1build3) ... Setting up libmagic1:riscv64 (1:5.41-3) ... Setting up gettext-base (0.21-4ubuntu4) ... Setting up xkb-data (2.33-1) ... Setting up libzzip-0-13:riscv64 (0.13.72+dfsg.1-1.1) ... Setting up file (1:5.41-3) ... Setting up libogg-dev:riscv64 (1.3.5-0ubuntu3) ... Setting up libxvidcore4:riscv64 (2:1.3.7-1) ... Setting up libffi-dev:riscv64 (3.4.2-4) ... Setting up libpthread-stubs0-dev:riscv64 (0.4-1build2) ... Setting up libpcre2-16-0:riscv64 (10.39-3build1) ... Setting up libopengl0:riscv64 (1.4.0-1) ... Setting up libflac8:riscv64 (1.3.3-2build2) ... Setting up libsasl2-modules-db:riscv64 (2.1.27+dfsg2-3ubuntu1) ... Setting up libasound2-data (1.2.6.1-1ubuntu1) ... Setting up xtrans-dev (1.4.0-1) ... Setting up zip (3.0-12build2) ... Setting up autotools-dev (20220109.1) ... Setting up libpcre2-32-0:riscv64 (10.39-3build1) ... Setting up libglib2.0-data (2.72.1-1) ... Setting up libgles2:riscv64 (1.4.0-1) ... Setting up libfreetype6:riscv64 (2.11.1+dfsg-1build1) ... Setting up libx11-data (2:1.7.5-1) ... Setting up librtmp1:riscv64 (2.4+20151223.gitfa8646d.1-2build4) ... Setting up libteckit0:riscv64 (2.5.11+ds1-1) ... Setting up bash-completion (1:2.11-5ubuntu1) ... Setting up uuid-dev:riscv64 (2.37.2-4ubuntu3) ... Setting up libapache-pom-java (18-1) ... Setting up libgles1:riscv64 (1.4.0-1) ... Setting up libdbus-1-3:riscv64 (1.12.20-2ubuntu4) ... Setting up libsigsegv2:riscv64 (2.13-1ubuntu3) ... Setting up libopus0:riscv64 (1.3.1-0.1build2) ... Setting up t1utils (1.41-4build2) ... Setting up libpcre32-3:riscv64 (2:8.39-13build5) ... Setting up libvorbis0a:riscv64 (1.3.7-1build2) ... Setting up autopoint (0.21-4ubuntu4) ... Setting up pkg-config (0.29.2-1ubuntu3) ... Setting up fonts-dejavu-core (2.37-2build1) ... Setting up libmxml1:riscv64 (3.3-1) ... Setting up libudev-dev:riscv64 (249.11-0ubuntu3) ... Setting up libsepol-dev:riscv64 (3.3-1build1) ... Setting up ucf (3.0043) ... Setting up libsensors5:riscv64 (1:3.6.0-7ubuntu1) ... Setting up libjpeg-turbo8:riscv64 (2.1.2-0ubuntu1) ... Setting up libglapi-mesa:riscv64 (22.0.1-1ubuntu2) ... Setting up libkpathsea6:riscv64 (2021.20210626.59705-1build1) ... Setting up libsasl2-2:riscv64 (2.1.27+dfsg2-3ubuntu1) ... Setting up libssh-4:riscv64 (0.9.6-2build1) ... Setting up libvulkan1:riscv64 (1.3.204.1-2) ... Setting up zlib1g-dev:riscv64 (1:1.2.11.dfsg-2ubuntu9) ... Setting up libpcre2-posix3:riscv64 (10.39-3build1) ... Setting up libmd0:riscv64 (1.0.4-1build1) ... Setting up libasyncns0:riscv64 (0.8-6build2) ... Setting up libxshmfence1:riscv64 (1.3-1build4) ... Setting up libuchardet0:riscv64 (0.0.7-1build2) ... Setting up libasound2:riscv64 (1.2.6.1-1ubuntu1) ... Setting up fonts-lmodern (2.004.5-6.1) ... Setting up libsub-override-perl (0.09-2) ... Setting up libharfbuzz0b:riscv64 (2.7.4-1ubuntu3) ... Setting up libcunit1:riscv64 (2.1-3-dfsg-2.4) ... Setting up libopenal-data (1:1.19.1-2build3) ... Setting up libgirepository-1.0-1:riscv64 (1.72.0-1) ... Setting up xorg-sgml-doctools (1:1.11-1.1) ... Setting up libglu1-mesa:riscv64 (9.0.2-1) ... Setting up libwayland-egl1:riscv64 (1.20.0-1) ... Setting up libopengl-dev:riscv64 (1.4.0-1) ... Setting up libasound2-dev:riscv64 (1.2.6.1-1ubuntu1) ... Setting up libsamplerate0:riscv64 (0.2.2-1build1) ... 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.11.5-1) ... Setting up python3-lib2to3 (3.10.4-0ubuntu1) ... Setting up libdrm-common (2.4.110-1ubuntu1) ... Setting up libelf1:riscv64 (0.186-1build1) ... Setting up libopusfile0 (0.9+20170913-1.1build1) ... Setting up xdg-utils (1.1.3-4.1ubuntu1) ... update-alternatives: using /usr/bin/xdg-open to provide /usr/bin/open (open) in auto mode Setting up libvorbisenc2:riscv64 (1.3.7-1build2) ... Setting up libsynctex2:riscv64 (2021.20210626.59705-1build1) ... Setting up libicu70:riscv64 (70.1-2) ... Setting up libxkbcommon0:riscv64 (1.4.0-1) ... Setting up libwayland-client0:riscv64 (1.20.0-1) ... Setting up libjpeg8:riscv64 (8c-2ubuntu10) ... Setting up python3-distutils (3.10.4-0ubuntu1) ... Setting up x11proto-dev (2021.5-1) ... Setting up libfile-stripnondeterminism-perl (1.13.0-1) ... Setting up libglib2.0-dev-bin (2.72.1-1) ... Setting up libblkid-dev:riscv64 (2.37.2-4ubuntu3) ... Setting up libpaper1:riscv64 (1.1.28build2) ... Creating config file /etc/papersize with new version Setting up libice6:riscv64 (2:1.0.10-1build2) ... Setting up libdw1:riscv64 (0.186-1build1) ... Setting up libjpeg-turbo8-dev:riscv64 (2.1.2-0ubuntu1) ... Setting up libxdmcp6:riscv64 (1:1.1.3-0ubuntu5) ... Setting up libxcb1:riscv64 (1.14-3ubuntu3) ... Setting up libxcb-xfixes0:riscv64 (1.14-3ubuntu3) ... Setting up libpdfbox-java (1:1.8.16-2) ... Setting up libxau-dev:riscv64 (1:1.0.9-1build5) ... Setting up libpcre2-dev:riscv64 (10.39-3build1) ... Setting up libxvidcore-dev:riscv64 (2:1.3.7-1) ... Setting up libmxml-dev:riscv64 (3.3-1) ... Setting up libice-dev:riscv64 (2:1.0.10-1build2) ... Setting up libtool (2.4.6-15build2) ... Setting up libxcb-render0:riscv64 (1.14-3ubuntu3) ... Setting up libselinux1-dev:riscv64 (3.3-1build2) ... Setting up libpcre3-dev:riscv64 (2:8.39-13build5) ... Setting up fontconfig-config (2.13.1-4.2ubuntu5) ... Setting up libxcb-glx0:riscv64 (1.14-3ubuntu3) ... Setting up libxkbcommon-dev:riscv64 (1.4.0-1) ... Setting up libpng-dev:riscv64 (1.6.37-3build5) ... Setting up libcommons-parent-java (43-1) ... Setting up libcommons-logging-java (1.2-2) ... Setting up libglib2.0-bin (2.72.1-1) ... Setting up m4 (1.4.18-5ubuntu2) ... Setting up libxcb-shm0:riscv64 (1.14-3ubuntu3) ... Setting up libpaper-utils (1.1.28build2) ... Setting up libldap-2.5-0:riscv64 (2.5.11+dfsg-1~exp1ubuntu3) ... Setting up libxcb-present0:riscv64 (1.14-3ubuntu3) ... Setting up tex-common (6.17) ... update-language: texlive-base not installed and configured, doing nothing! Setting up libvorbisfile3:riscv64 (1.3.7-1build2) ... Setting up libxdmcp-dev:riscv64 (1:1.1.3-0ubuntu5) ... Setting up libptexenc1:riscv64 (2021.20210626.59705-1build1) ... Setting up libdbus-1-dev:riscv64 (1.12.20-2ubuntu4) ... Setting up libxcb-sync1:riscv64 (1.14-3ubuntu3) ... Setting up libcunit1-dev (2.1-3-dfsg-2.4) ... Setting up icu-devtools (70.1-2) ... Setting up gir1.2-glib-2.0:riscv64 (1.72.0-1) ... Setting up autoconf (2.71-2) ... Setting up libsndio7.0:riscv64 (1.8.1-1.1) ... Setting up libxcb-dri2-0:riscv64 (1.14-3ubuntu3) ... Setting up dh-strip-nondeterminism (1.13.0-1) ... Setting up libjack-jackd2-0:riscv64 (1.9.20~dfsg-1) ... Setting up libdrm2:riscv64 (2.4.110-1ubuntu1) ... Setting up dwz (0.14-1build2) ... Setting up groff-base (1.22.4-8build1) ... Setting up libwayland-cursor0:riscv64 (1.20.0-1) ... Setting up debugedit (1:5.0-4build1) ... Setting up libdecor-0-0:riscv64 (0.1.0-3build1) ... Setting up libx11-6:riscv64 (2:1.7.5-1) ... Setting up libfontconfig1:riscv64 (2.13.1-4.2ubuntu5) ... Setting up libsndfile1:riscv64 (1.0.31-2build1) ... Setting up libjpeg8-dev:riscv64 (8c-2ubuntu10) ... Setting up gir1.2-ibus-1.0:riscv64 (1.5.26-4) ... Setting up libsm6:riscv64 (2:1.2.3-1build2) ... Setting up libicu-dev:riscv64 (70.1-2) ... Setting up libxml2:riscv64 (2.9.13+dfsg-1build1) ... Setting up libinstpatch-1.0-2:riscv64 (1.1.6-1) ... Setting up libmount-dev:riscv64 (2.37.2-4ubuntu3) ... Setting up automake (1:1.16.5-1.3) ... update-alternatives: using /usr/bin/automake-1.16 to provide /usr/bin/automake (automake) in auto mode Setting up libvorbis-dev:riscv64 (1.3.7-1build2) ... Setting up libxcb-dri3-0:riscv64 (1.14-3ubuntu3) ... Setting up libx11-xcb1:riscv64 (2:1.7.5-1) ... Setting up libdrm-nouveau2:riscv64 (2.4.110-1ubuntu1) ... Setting up gettext (0.21-4ubuntu4) ... Setting up libsndio-dev:riscv64 (1.8.1-1.1) ... Setting up libxcb1-dev:riscv64 (1.14-3ubuntu3) ... Setting up libxpm4:riscv64 (1:3.5.12-1build2) ... Setting up libxrender1:riscv64 (1:0.9.10-1build4) ... Setting up libgbm1:riscv64 (22.0.1-1ubuntu2) ... Setting up libpulse0:riscv64 (1:15.99.1+dfsg1-1ubuntu1) ... Setting up libsm-dev:riscv64 (2:1.2.3-1build2) ... Setting up libdrm-radeon1:riscv64 (2.4.110-1ubuntu1) ... Setting up preview-latex-style (12.2-1ubuntu1) ... Setting up libgl1-mesa-dri:riscv64 (22.0.1-1ubuntu2) ... Setting up libjpeg-dev:riscv64 (8c-2ubuntu10) ... Setting up libx11-dev:riscv64 (2:1.7.5-1) ... Setting up libxext6:riscv64 (2:1.3.4-1build1) ... Setting up libcurl3-gnutls:riscv64 (7.81.0-1) ... Setting up libopenal1:riscv64 (1:1.19.1-2build3) ... Setting up libcurl4-gnutls-dev:riscv64 (7.81.0-1) ... Setting up man-db (2.10.2-1) ... Not building database; man-db/auto-update is not 'true'. Created symlink /etc/systemd/system/timers.target.wants/man-db.timer → /lib/systemd/system/man-db.timer. Setting up libcairo2:riscv64 (1.16.0-5ubuntu2) ... Setting up libxxf86vm1:riscv64 (1:1.1.4-1build3) ... Setting up intltool-debian (0.35.0+20060710.5) ... Setting up dh-autoreconf (20) ... Setting up libwayland-bin (1.20.0-1) ... Setting up libxml2-dev:riscv64 (2.9.13+dfsg-1build1) ... Setting up libegl-mesa0:riscv64 (22.0.1-1ubuntu2) ... Setting up libglib2.0-dev:riscv64 (2.72.1-1) ... Setting up libxfixes3:riscv64 (1:6.0.0-1) ... Setting up libpulse-mainloop-glib0:riscv64 (1:15.99.1+dfsg1-1ubuntu1) ... Setting up libxinerama1:riscv64 (2:1.1.4-3) ... Setting up libxv1:riscv64 (2:1.0.11-1build2) ... Setting up libxrandr2:riscv64 (2:1.5.2-1build1) ... Setting up libxt6:riscv64 (1:1.2.1-1) ... Setting up libpulse-dev:riscv64 (1:15.99.1+dfsg1-1ubuntu1) ... Setting up libxext-dev:riscv64 (2:1.3.4-1build1) ... Setting up libtheora0:riscv64 (1.1.1+dfsg.1-15ubuntu4) ... Setting up libegl1:riscv64 (1.4.0-1) ... Setting up libxss1:riscv64 (1:1.2.3-1build2) ... Setting up libxrender-dev:riscv64 (1:0.9.10-1build4) ... Setting up libxmu6:riscv64 (2:1.1.3-3) ... Setting up libglx-mesa0:riscv64 (22.0.1-1ubuntu2) ... Setting up libxi6:riscv64 (2:1.8-1build1) ... Setting up libglx0:riscv64 (1.4.0-1) ... Setting up libopenal-dev:riscv64 (1:1.19.1-2build3) ... Setting up po-debconf (1.0.21+nmu1) ... Setting up libxxf86vm-dev:riscv64 (1:1.1.4-1build3) ... Setting up libxcursor1:riscv64 (1:1.2.0-2build4) ... Setting up debhelper (13.6ubuntu1) ... Setting up libxaw7:riscv64 (2:1.0.14-1) ... Setting up libxss-dev:riscv64 (1:1.2.3-1build2) ... Setting up libwayland-dev:riscv64 (1.20.0-1) ... Setting up libibus-1.0-dev:riscv64 (1.5.26-4) ... Setting up libxfixes-dev:riscv64 (1:6.0.0-1) ... Setting up libxv-dev:riscv64 (2:1.0.11-1build2) ... Setting up libxrandr-dev:riscv64 (2:1.5.2-1build1) ... Setting up libgl1:riscv64 (1.4.0-1) ... Setting up libtheora-dev:riscv64 (1.1.1+dfsg.1-15ubuntu4) ... Setting up libxt-dev:riscv64 (1:1.2.1-1) ... Setting up libxinerama-dev:riscv64 (2:1.1.4-3) ... Setting up texlive-binaries (2021.20210626.59705-1build1) ... 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.4.0-1) ... Setting up libxi-dev:riscv64 (2:1.8-1build1) ... Setting up libsdl2-2.0-0:riscv64 (2.0.20+dfsg-2build1) ... Setting up texlive-base (2021.20220204-1) ... /usr/bin/ucfr /usr/bin/ucfr /usr/bin/ucfr /usr/bin/ucfr 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.4.0-1) ... Setting up libfluidsynth3:riscv64 (2.2.5-1) ... Setting up libegl-dev:riscv64 (1.4.0-1) ... Setting up libxcursor-dev:riscv64 (1:1.2.0-2build4) ... Setting up libsdl2-mixer-2.0-0:riscv64 (2.0.4+dfsg1-4build1) ... Setting up texlive-latex-base (2021.20220204-1) ... Setting up texlive-latex-recommended (2021.20220204-1) ... Setting up libglu1-mesa-dev:riscv64 (9.0.2-1) ... Setting up texlive-pictures (2021.20220204-1) ... Setting up libsdl2-ttf-2.0-0:riscv64 (2.0.18+dfsg-2) ... Setting up libgles-dev:riscv64 (1.4.0-1) ... Setting up libglvnd-dev:riscv64 (1.4.0-1) ... Setting up texlive-latex-extra (2021.20220204-1) ... Setting up libegl1-mesa-dev:riscv64 (22.0.1-1ubuntu2) ... Setting up libsdl2-dev:riscv64 (2.0.20+dfsg-2build1) ... Setting up libsdl2-ttf-dev:riscv64 (2.0.18+dfsg-2) ... Setting up libsdl2-mixer-dev:riscv64 (2.0.4+dfsg1-4build1) ... Setting up sbuild-build-depends-main-dummy (0.invalid.0) ... Processing triggers for libc-bin (2.35-0ubuntu3) ... Processing triggers for tex-common (6.17) ... 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 5.13.0-1019-generic #21~20.04.1-Ubuntu SMP Thu Mar 24 22:36:01 UTC 2022 riscv64 (riscv64) Toolchain package versions: binutils_2.38-3ubuntu1 dpkg-dev_1.21.1ubuntu11 g++-11_11.2.0-19ubuntu1 g++-12_12-20220319-1ubuntu1 gcc-11_11.2.0-19ubuntu1 gcc-12_12-20220319-1ubuntu1 libc6-dev_2.35-0ubuntu3 libstdc++-11-dev_11.2.0-19ubuntu1 libstdc++-12-dev_12-20220319-1ubuntu1 libstdc++6_12-20220319-1ubuntu1 linux-libc-dev_5.15.0-25.25 Package versions: adduser_3.118ubuntu5 advancecomp_2.1-2.1ubuntu2 apt_2.4.5 autoconf_2.71-2 automake_1:1.16.5-1.3 autopoint_0.21-4ubuntu4 autotools-dev_20220109.1 base-files_12ubuntu4 base-passwd_3.5.52build1 bash_5.1-6ubuntu1 bash-completion_1:2.11-5ubuntu1 binutils_2.38-3ubuntu1 binutils-common_2.38-3ubuntu1 binutils-riscv64-linux-gnu_2.38-3ubuntu1 bsdextrautils_2.37.2-4ubuntu3 bsdutils_1:2.37.2-4ubuntu3 build-essential_12.9ubuntu3 bzip2_1.0.8-5build1 ca-certificates_20211016 coreutils_8.32-4.1ubuntu1 cpp_4:12-20211211-1ubuntu2 cpp-11_11.2.0-19ubuntu1 cpp-12_12-20220319-1ubuntu1 dash_0.5.11+git20210903+057cd650a4ed-3build1 debconf_1.5.79ubuntu1 debhelper_13.6ubuntu1 debianutils_5.5-1ubuntu2 debugedit_1:5.0-4build1 dh-autoreconf_20 dh-strip-nondeterminism_1.13.0-1 diffutils_1:3.8-0ubuntu2 dpkg_1.21.1ubuntu11 dpkg-dev_1.21.1ubuntu11 dwz_0.14-1build2 e2fsprogs_1.46.5-2ubuntu1 fakeroot_1.28-1ubuntu1 file_1:5.41-3 findutils_4.8.0-1ubuntu3 fontconfig-config_2.13.1-4.2ubuntu5 fonts-dejavu-core_2.37-2build1 fonts-lmodern_2.004.5-6.1 g++_4:12-20211211-1ubuntu2 g++-11_11.2.0-19ubuntu1 g++-12_12-20220319-1ubuntu1 gcc_4:12-20211211-1ubuntu2 gcc-11_11.2.0-19ubuntu1 gcc-11-base_11.2.0-19ubuntu1 gcc-12_12-20220319-1ubuntu1 gcc-12-base_12-20220319-1ubuntu1 gettext_0.21-4ubuntu4 gettext-base_0.21-4ubuntu4 gir1.2-glib-2.0_1.72.0-1 gir1.2-ibus-1.0_1.5.26-4 gpg_2.2.27-3ubuntu2 gpg-agent_2.2.27-3ubuntu2 gpgconf_2.2.27-3ubuntu2 gpgv_2.2.27-3ubuntu2 grep_3.7-1build1 groff-base_1.22.4-8build1 gzip_1.10-4ubuntu4 hostname_3.23ubuntu2 icu-devtools_70.1-2 init_1.62 init-system-helpers_1.62 intltool-debian_0.35.0+20060710.5 libacl1_2.3.1-1 libapache-pom-java_18-1 libapparmor1_3.0.4-2ubuntu2 libapt-pkg6.0_2.4.5 libarchive-zip-perl_1.68-1 libargon2-1_0~20171227-0.3 libasan6_11.2.0-19ubuntu1 libasan8_12-20220319-1ubuntu1 libasound2_1.2.6.1-1ubuntu1 libasound2-data_1.2.6.1-1ubuntu1 libasound2-dev_1.2.6.1-1ubuntu1 libassuan0_2.5.5-1build1 libasyncns0_0.8-6build2 libatomic1_12-20220319-1ubuntu1 libattr1_1:2.5.1-1build1 libaudit-common_1:3.0.7-1build1 libaudit1_1:3.0.7-1build1 libbinutils_2.38-3ubuntu1 libblkid-dev_2.37.2-4ubuntu3 libblkid1_2.37.2-4ubuntu3 libbrotli1_1.0.9-2build6 libbsd0_0.11.5-1 libbz2-1.0_1.0.8-5build1 libc-bin_2.35-0ubuntu3 libc-dev-bin_2.35-0ubuntu3 libc6_2.35-0ubuntu3 libc6-dev_2.35-0ubuntu3 libcairo2_1.16.0-5ubuntu2 libcap-ng0_0.7.9-2.2build3 libcap2_1:2.44-1build3 libcc1-0_12-20220319-1ubuntu1 libcom-err2_1.46.5-2ubuntu1 libcommons-logging-java_1.2-2 libcommons-parent-java_43-1 libcrypt-dev_1:4.4.27-1 libcrypt1_1:4.4.27-1 libcryptsetup12_2:2.4.3-1ubuntu1 libctf-nobfd0_2.38-3ubuntu1 libctf0_2.38-3ubuntu1 libcunit1_2.1-3-dfsg-2.4 libcunit1-dev_2.1-3-dfsg-2.4 libcurl3-gnutls_7.81.0-1 libcurl4-gnutls-dev_7.81.0-1 libdb5.3_5.3.28+dfsg1-0.8ubuntu3 libdbus-1-3_1.12.20-2ubuntu4 libdbus-1-dev_1.12.20-2ubuntu4 libdebconfclient0_0.261ubuntu1 libdebhelper-perl_13.6ubuntu1 libdecor-0-0_0.1.0-3build1 libdevmapper1.02.1_2:1.02.175-2.1ubuntu4 libdpkg-perl_1.21.1ubuntu11 libdrm-common_2.4.110-1ubuntu1 libdrm-nouveau2_2.4.110-1ubuntu1 libdrm-radeon1_2.4.110-1ubuntu1 libdrm2_2.4.110-1ubuntu1 libdw1_0.186-1build1 libegl-dev_1.4.0-1 libegl-mesa0_22.0.1-1ubuntu2 libegl1_1.4.0-1 libegl1-mesa-dev_22.0.1-1ubuntu2 libelf1_0.186-1build1 libexpat1_2.4.7-1 libext2fs2_1.46.5-2ubuntu1 libfakeroot_1.28-1ubuntu1 libffi-dev_3.4.2-4 libffi8_3.4.2-4 libfile-stripnondeterminism-perl_1.13.0-1 libflac8_1.3.3-2build2 libfluidsynth3_2.2.5-1 libfontbox-java_1:1.8.16-2 libfontconfig1_2.13.1-4.2ubuntu5 libfreetype6_2.11.1+dfsg-1build1 libgbm1_22.0.1-1ubuntu2 libgcc-11-dev_11.2.0-19ubuntu1 libgcc-12-dev_12-20220319-1ubuntu1 libgcc-s1_12-20220319-1ubuntu1 libgcrypt20_1.9.4-3ubuntu3 libgdbm-compat4_1.23-1 libgdbm6_1.23-1 libgirepository-1.0-1_1.72.0-1 libgl-dev_1.4.0-1 libgl1_1.4.0-1 libgl1-mesa-dri_22.0.1-1ubuntu2 libglapi-mesa_22.0.1-1ubuntu2 libgles-dev_1.4.0-1 libgles1_1.4.0-1 libgles2_1.4.0-1 libglib2.0-0_2.72.1-1 libglib2.0-bin_2.72.1-1 libglib2.0-data_2.72.1-1 libglib2.0-dev_2.72.1-1 libglib2.0-dev-bin_2.72.1-1 libglu1-mesa_9.0.2-1 libglu1-mesa-dev_9.0.2-1 libglvnd-core-dev_1.4.0-1 libglvnd-dev_1.4.0-1 libglvnd0_1.4.0-1 libglx-dev_1.4.0-1 libglx-mesa0_22.0.1-1ubuntu2 libglx0_1.4.0-1 libgmp10_2:6.2.1+dfsg-3ubuntu1 libgnutls30_3.7.3-4ubuntu1 libgomp1_12-20220319-1ubuntu1 libgpg-error0_1.43-3 libgraphite2-3_1.3.14-1build2 libgssapi-krb5-2_1.19.2-2 libharfbuzz0b_2.7.4-1ubuntu3 libhogweed6_3.7.3-1build2 libibus-1.0-5_1.5.26-4 libibus-1.0-dev_1.5.26-4 libice-dev_2:1.0.10-1build2 libice6_2:1.0.10-1build2 libicu-dev_70.1-2 libicu70_70.1-2 libidn2-0_2.3.2-2build1 libinstpatch-1.0-2_1.1.6-1 libip4tc2_1.8.7-1ubuntu5 libisl23_0.24-2build1 libjack-jackd2-0_1.9.20~dfsg-1 libjpeg-dev_8c-2ubuntu10 libjpeg-turbo8_2.1.2-0ubuntu1 libjpeg-turbo8-dev_2.1.2-0ubuntu1 libjpeg8_8c-2ubuntu10 libjpeg8-dev_8c-2ubuntu10 libjson-c5_0.15-2build4 libk5crypto3_1.19.2-2 libkeyutils1_1.6.1-2ubuntu3 libkmod2_29-1ubuntu1 libkpathsea6_2021.20210626.59705-1build1 libkrb5-3_1.19.2-2 libkrb5support0_1.19.2-2 libldap-2.5-0_2.5.11+dfsg-1~exp1ubuntu3 liblockfile-bin_1.17-1build2 liblockfile1_1.17-1build2 liblz4-1_1.9.3-2build2 liblzma5_5.2.5-2ubuntu1 libmagic-mgc_1:5.41-3 libmagic1_1:5.41-3 libmd0_1.0.4-1build1 libmodplug1_1:0.8.9.0-3 libmount-dev_2.37.2-4ubuntu3 libmount1_2.37.2-4ubuntu3 libmpc3_1.2.1-2build1 libmpdec3_2.5.1-2build2 libmpfr6_4.1.0-3build3 libmpg123-0_1.29.3-1build1 libmxml-dev_3.3-1 libmxml1_3.3-1 libncurses6_6.3-2 libncursesw6_6.3-2 libnettle8_3.7.3-1build2 libnghttp2-14_1.43.0-1build3 libnpth0_1.6-3build2 libnsl-dev_1.3.0-2build2 libnsl2_1.3.0-2build2 libogg-dev_1.3.5-0ubuntu3 libogg0_1.3.5-0ubuntu3 libopenal-data_1:1.19.1-2build3 libopenal-dev_1:1.19.1-2build3 libopenal1_1:1.19.1-2build3 libopengl-dev_1.4.0-1 libopengl0_1.4.0-1 libopus0_1.3.1-0.1build2 libopusfile0_0.9+20170913-1.1build1 libp11-kit0_0.24.0-6build1 libpam-modules_1.4.0-11ubuntu2 libpam-modules-bin_1.4.0-11ubuntu2 libpam-runtime_1.4.0-11ubuntu2 libpam0g_1.4.0-11ubuntu2 libpaper-utils_1.1.28build2 libpaper1_1.1.28build2 libpcre16-3_2:8.39-13build5 libpcre2-16-0_10.39-3build1 libpcre2-32-0_10.39-3build1 libpcre2-8-0_10.39-3build1 libpcre2-dev_10.39-3build1 libpcre2-posix3_10.39-3build1 libpcre3_2:8.39-13build5 libpcre3-dev_2:8.39-13build5 libpcre32-3_2:8.39-13build5 libpcrecpp0v5_2:8.39-13build5 libpdfbox-java_1:1.8.16-2 libperl5.32_5.32.1-3ubuntu3 libperl5.34_5.34.0-3ubuntu1 libpipeline1_1.5.5-1 libpixman-1-0_0.40.0-1build4 libpng-dev_1.6.37-3build5 libpng16-16_1.6.37-3build5 libprocps8_2:3.3.17-6ubuntu2 libpsl5_0.21.0-1.2build2 libptexenc1_2021.20210626.59705-1build1 libpthread-stubs0-dev_0.4-1build2 libpulse-dev_1:15.99.1+dfsg1-1ubuntu1 libpulse-mainloop-glib0_1:15.99.1+dfsg1-1ubuntu1 libpulse0_1:15.99.1+dfsg1-1ubuntu1 libpython3-stdlib_3.10.4-0ubuntu2 libpython3.10-minimal_3.10.4-3 libpython3.10-stdlib_3.10.4-3 libreadline8_8.1.2-1 librtmp1_2.4+20151223.gitfa8646d.1-2build4 libsamplerate0_0.2.2-1build1 libsasl2-2_2.1.27+dfsg2-3ubuntu1 libsasl2-modules-db_2.1.27+dfsg2-3ubuntu1 libsdl2-2.0-0_2.0.20+dfsg-2build1 libsdl2-dev_2.0.20+dfsg-2build1 libsdl2-mixer-2.0-0_2.0.4+dfsg1-4build1 libsdl2-mixer-dev_2.0.4+dfsg1-4build1 libsdl2-ttf-2.0-0_2.0.18+dfsg-2 libsdl2-ttf-dev_2.0.18+dfsg-2 libseccomp2_2.5.3-2ubuntu2 libselinux1_3.3-1build2 libselinux1-dev_3.3-1build2 libsemanage-common_3.3-1build2 libsemanage2_3.3-1build2 libsensors-config_1:3.6.0-7ubuntu1 libsensors5_1:3.6.0-7ubuntu1 libsepol-dev_3.3-1build1 libsepol1_3.1-1ubuntu2 libsepol2_3.3-1build1 libsigsegv2_2.13-1ubuntu3 libsm-dev_2:1.2.3-1build2 libsm6_2:1.2.3-1build2 libsmartcols1_2.37.2-4ubuntu3 libsndfile1_1.0.31-2build1 libsndio-dev_1.8.1-1.1 libsndio7.0_1.8.1-1.1 libsqlite3-0_3.37.2-2 libss2_1.46.5-2ubuntu1 libssh-4_0.9.6-2build1 libssl1.1_1.1.1l-1ubuntu1 libssl3_3.0.2-0ubuntu1 libstdc++-11-dev_11.2.0-19ubuntu1 libstdc++-12-dev_12-20220319-1ubuntu1 libstdc++6_12-20220319-1ubuntu1 libsub-override-perl_0.09-2 libsynctex2_2021.20210626.59705-1build1 libsystemd0_249.11-0ubuntu3 libtasn1-6_4.18.0-4build1 libteckit0_2.5.11+ds1-1 libtexlua53_2021.20210626.59705-1build1 libtheora-dev_1.1.1+dfsg.1-15ubuntu4 libtheora0_1.1.1+dfsg.1-15ubuntu4 libtinfo6_6.3-2 libtirpc-common_1.3.2-2build1 libtirpc-dev_1.3.2-2build1 libtirpc3_1.3.2-2build1 libtool_2.4.6-15build2 libuchardet0_0.0.7-1build2 libudev-dev_249.11-0ubuntu3 libudev1_249.11-0ubuntu3 libunistring2_1.0-1 libuuid1_2.37.2-4ubuntu3 libvorbis-dev_1.3.7-1build2 libvorbis0a_1.3.7-1build2 libvorbisenc2_1.3.7-1build2 libvorbisfile3_1.3.7-1build2 libvulkan1_1.3.204.1-2 libwayland-bin_1.20.0-1 libwayland-client0_1.20.0-1 libwayland-cursor0_1.20.0-1 libwayland-dev_1.20.0-1 libwayland-egl1_1.20.0-1 libwayland-server0_1.20.0-1 libx11-6_2:1.7.5-1 libx11-data_2:1.7.5-1 libx11-dev_2:1.7.5-1 libx11-xcb1_2:1.7.5-1 libxau-dev_1:1.0.9-1build5 libxau6_1:1.0.9-1build5 libxaw7_2:1.0.14-1 libxcb-dri2-0_1.14-3ubuntu3 libxcb-dri3-0_1.14-3ubuntu3 libxcb-glx0_1.14-3ubuntu3 libxcb-present0_1.14-3ubuntu3 libxcb-render0_1.14-3ubuntu3 libxcb-shm0_1.14-3ubuntu3 libxcb-sync1_1.14-3ubuntu3 libxcb-xfixes0_1.14-3ubuntu3 libxcb1_1.14-3ubuntu3 libxcb1-dev_1.14-3ubuntu3 libxcursor-dev_1:1.2.0-2build4 libxcursor1_1:1.2.0-2build4 libxdmcp-dev_1:1.1.3-0ubuntu5 libxdmcp6_1:1.1.3-0ubuntu5 libxext-dev_2:1.3.4-1build1 libxext6_2:1.3.4-1build1 libxfixes-dev_1:6.0.0-1 libxfixes3_1:6.0.0-1 libxi-dev_2:1.8-1build1 libxi6_2:1.8-1build1 libxinerama-dev_2:1.1.4-3 libxinerama1_2:1.1.4-3 libxkbcommon-dev_1.4.0-1 libxkbcommon0_1.4.0-1 libxml2_2.9.13+dfsg-1build1 libxml2-dev_2.9.13+dfsg-1build1 libxmu6_2:1.1.3-3 libxpm4_1:3.5.12-1build2 libxrandr-dev_2:1.5.2-1build1 libxrandr2_2:1.5.2-1build1 libxrender-dev_1:0.9.10-1build4 libxrender1_1:0.9.10-1build4 libxshmfence1_1.3-1build4 libxss-dev_1:1.2.3-1build2 libxss1_1:1.2.3-1build2 libxt-dev_1:1.2.1-1 libxt6_1:1.2.1-1 libxv-dev_2:1.0.11-1build2 libxv1_2:1.0.11-1build2 libxvidcore-dev_2:1.3.7-1 libxvidcore4_2:1.3.7-1 libxxf86vm-dev_1:1.1.4-1build3 libxxf86vm1_1:1.1.4-1build3 libxxhash0_0.8.1-1 libzstd1_1.4.8+dfsg-3build1 libzzip-0-13_0.13.72+dfsg.1-1.1 linux-libc-dev_5.15.0-25.25 lockfile-progs_0.1.19build1 login_1:4.8.1-2ubuntu2 logsave_1.46.5-2ubuntu1 lsb-base_11.1.0ubuntu4 lto-disabled-list_24 m4_1.4.18-5ubuntu2 make_4.3-4.1build1 man-db_2.10.2-1 mawk_1.3.4.20200120-3 media-types_7.0.0 mount_2.37.2-4ubuntu3 ncurses-base_6.3-2 ncurses-bin_6.3-2 openssl_3.0.2-0ubuntu1 optipng_0.7.7-2build1 passwd_1:4.8.1-2ubuntu2 patch_2.7.6-7build2 perl_5.34.0-3ubuntu1 perl-base_5.34.0-3ubuntu1 perl-modules-5.32_5.32.1-3ubuntu3 perl-modules-5.34_5.34.0-3ubuntu1 pinentry-curses_1.1.1-1build2 pkg-config_0.29.2-1ubuntu3 pkgbinarymangler_149 po-debconf_1.0.21+nmu1 policyrcd-script-zg2_0.1-3 preview-latex-style_12.2-1ubuntu1 procps_2:3.3.17-6ubuntu2 python3_3.10.4-0ubuntu2 python3-distutils_3.10.4-0ubuntu1 python3-lib2to3_3.10.4-0ubuntu1 python3-minimal_3.10.4-0ubuntu2 python3-psutil_5.9.0-1build1 python3.10_3.10.4-3 python3.10-minimal_3.10.4-3 readline-common_8.1.2-1 rpcsvc-proto_1.4.2-0ubuntu6 sbuild-build-depends-main-dummy_0.invalid.0 sed_4.8-1ubuntu2 sensible-utils_0.0.17 systemd_249.11-0ubuntu3 systemd-sysv_249.11-0ubuntu3 systemd-timesyncd_249.11-0ubuntu3 sysvinit-utils_3.01-1ubuntu1 t1utils_1.41-4build2 tar_1.34+dfsg-1build3 tex-common_6.17 texlive-base_2021.20220204-1 texlive-binaries_2021.20210626.59705-1build1 texlive-latex-base_2021.20220204-1 texlive-latex-extra_2021.20220204-1 texlive-latex-recommended_2021.20220204-1 texlive-pictures_2021.20220204-1 timgm6mb-soundfont_1.3-5 tzdata_2022a-0ubuntu1 ubuntu-keyring_2021.03.26 ucf_3.0043 usrmerge_25ubuntu2 util-linux_2.37.2-4ubuntu3 uuid-dev_2.37.2-4ubuntu3 x11-common_1:7.7+23ubuntu2 x11proto-dev_2021.5-1 xdg-utils_1.1.3-4.1ubuntu1 xkb-data_2.33-1 xorg-sgml-doctools_1:1.11-1.1 xtrans-dev_1.4.0-1 xz-utils_5.2.5-2ubuntu1 zip_3.0-12build2 zlib1g_1:1.2.11.dfsg-2ubuntu9 zlib1g-dev_1:1.2.11.dfsg-2ubuntu9 +------------------------------------------------------------------------------+ | 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-6 Maintainer: Debian Games Team Uploaders: Markus Koschany Homepage: http://ufoai.org Standards-Version: 4.5.0 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 ac6e1564bc0906f5e6da44ee77602952b154d438 24872 ufoai_2.5-6.debian.tar.xz Checksums-Sha256: b390e50b8cf92ac8ab2ab7c74af9919b3164d16a56bf7f26f7427ba89e30a80c 9640312 ufoai_2.5.orig.tar.xz dbed26aa003be46210d40d79ce7e591e6c7287ccc744c6d9dc907e34d6cc54da 24872 ufoai_2.5-6.debian.tar.xz Files: 98ed9448b62a824d4cfa90d1cb5c4c59 9640312 ufoai_2.5.orig.tar.xz 7aa4109c83f821c47d46fc9e7e6ababb 24872 ufoai_2.5-6.debian.tar.xz -----BEGIN PGP SIGNATURE----- iQKjBAEBCgCNFiEErPPQiO8y7e9qGoNf2a0UuVE7UeQFAl+wSEBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEFD RjNEMDg4RUYzMkVERUY2QTFBODM1RkQ5QUQxNEI5NTEzQjUxRTQPHGFwb0BkZWJp YW4ub3JnAAoJENmtFLlRO1HkiGsP/Rz3VBAzM+7Q90+TVR9LoEC2a98VEghGNIHQ aYnHuclRPiTl+nUz2llkDeDbdug9fOlnuDqPHt2CWYHVSjA+l6ex8jkF4bRSch7h 5Gicgz9TGTyjeopBYtF71Ri5n+esg3gHiDUAuDDnDBFpcDtSwpc5aQLk7ecjqMpr 4UigiydbLBhQfkfAQu/bqtfFgFs/bHAVsmxCqc+06EBo/ivRNPpsZpeoNzyrfvNz jT/FxPP98rPzV8uOfeQlnkbk8qjgfj5cwSVDk1tuJHe0NVsR/ZKyYSkJlFDLR7Mg NYQYC5a9QYhSzYpqAroM9587mB/FyKY7TR6b8Qsc6VMw4YpMEIx3WWOvPlzWZWFQ xgj33TjF0bIxesDQ8K8Q7waprIo5Xmwb1I00LzDTPHFXyyaGY2Yqc8CXrpCrTagw NctN4haKWsPn1aP7HfYFIjZLF5p0HOwWIpYeNO8cX3DZA+kiPDyooffV02bmYJRI VQBIABA8EkFQErFfMSUCmqPujece5SqfcdmB6nSYBAH+MLKdMqEJlODKNDKpWUFo tB90OwRqRVeH6FMkC9S5p5L6VYIUi3n7tEhmPUjs5uGyVyy06PZjnPFDYLa+h5uc PcFzi471bOKRB+2MqnPSG/2S/gvX51zjphQSzLu/dLAk3Jp2FxBx1Cl1KWazvcM4 KQM3jukG =YtpG -----END PGP SIGNATURE----- gpgv: Signature made Sat Nov 14 21:12:32 2020 UTC gpgv: using RSA key ACF3D088EF32EDEF6A1A835FD9AD14B9513B51E4 gpgv: issuer "apo@debian.org" gpgv: Can't check signature: No public key dpkg-source: warning: cannot verify signature ./ufoai_2.5-6.dsc dpkg-source: info: extracting ufoai in /<> dpkg-source: info: unpacking ufoai_2.5.orig.tar.xz dpkg-source: info: unpacking ufoai_2.5-6.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=8 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-23472504 SCHROOT_CHROOT_NAME=build-PACKAGEBUILD-23472504 SCHROOT_COMMAND=env SCHROOT_GID=2501 SCHROOT_GROUP=buildd SCHROOT_SESSION_ID=build-PACKAGEBUILD-23472504 SCHROOT_UID=2001 SCHROOT_USER=buildd SHELL=/bin/sh TERM=unknown USER=buildd V=1 dpkg-buildpackage ----------------- Command: dpkg-buildpackage -us -uc -mLaunchpad Build Daemon -B -rfakeroot dpkg-buildpackage.pl: info: source package ufoai dpkg-buildpackage.pl: info: source version 2.5-6 dpkg-buildpackage.pl: info: source distribution unstable dpkg-source --before-build . dpkg-buildpackage.pl: info: host architecture riscv64 fakeroot debian/rules clean dh clean --with bash-completion dh_auto_clean make -j8 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -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/inttypes.h:25, from /usr/include/SDL2/SDL_opengl_glext.h:1409, from /usr/include/SDL2/SDL_opengl.h:2105, from src/tools/memory.cpp:6: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_actor.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_battlescape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_camera.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_localentity.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_parse.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_particle.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_radar.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_spawn.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_ugv.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_view.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cl_game_campaign.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_airfight.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alien_interest.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alienbase.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont_callbacks.cpp:32: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_auto_mission.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_basedefence_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/client/cgame/campaign/../../../shared/../../config.h:3, from src/client/cgame/campaign/../../../shared/shared.h:32, from src/client/cgame/campaign/cp_building.h:27, from src/client/cgame/campaign/cp_building.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../shared/shared.h:54: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_campaign.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_capacity.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_fightequip_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_geoscape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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: src/client/cgame/campaign/../../../common/../shared/vector.h: In function ‘void GEO_CenterOnPoint_f()’: src/client/cgame/campaign/../../../common/../shared/vector.h:61:52: warning: ‘pos[1]’ may be used uninitialized [-Wmaybe-uninitialized] 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[1]’ was declared here 1135 | vec2_t pos; | ^~~ src/client/cgame/campaign/../../../common/../shared/vector.h:61:40: warning: ‘pos[0]’ may be used uninitialized [-Wmaybe-uninitialized] 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[0]’ was declared here 1135 | vec2_t pos; | ^~~ ===> CXX [testall] src/client/cgame/campaign/cp_hospital.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mapfightequip.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market_callbacks.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messages.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_callbacks.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_triggers.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_missions.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_nation.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_overlay.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_parse.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_popup.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_radar.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_rank.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research.cpp:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_save.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_statistics.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_time.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufo.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufopedia.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery_callbacks.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_xvi.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_baseattack.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_buildbase.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_harvest.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_intercept.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_recon.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_rescue.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_supply.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_terror.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_xvi.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/../../common/../shared/ufotypes.h:32, from src/client/cgame/../../common/common.h:28, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/cl_game.h:28, from src/client/cgame/cl_game.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/../../common/../shared/ufotypes.h:32, from src/client/cgame/../../common/common.h:28, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/../client.h:31, from src/client/cgame/cl_game_team.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/multiplayer/../../../common/../shared/ufotypes.h:32, from src/client/cgame/multiplayer/../../../common/common.h:28, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/cl_game_multiplayer.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/multiplayer/../../../common/../shared/ufotypes.h:32, from src/client/cgame/multiplayer/../../../common/common.h:28, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/multiplayer/../../../common/../shared/ufotypes.h:32, from src/client/cgame/multiplayer/../../../common/common.h:28, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_serverlist.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/skirmish/../../../common/../shared/ufotypes.h:32, from src/client/cgame/skirmish/../../../common/common.h:28, from src/client/cgame/skirmish/../../cl_shared.h:28, from src/client/cgame/skirmish/cl_game_skirmish.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/skirmish/../../../common/../shared/shared.h:54, from src/client/cgame/skirmish/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/cl_cinematic.h:28, from src/client/cinematic/cl_cinematic.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/cl_cinematic_ogm.h:28, from src/client/cinematic/cl_cinematic_ogm.cpp:10: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/cl_cinematic_roq.h:28, from src/client/cinematic/cl_cinematic_roq.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/../../shared/mathlib.h:27, from src/client/cinematic/cl_sequence.h:27, from src/client/cinematic/cl_sequence.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_console.cpp:30: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_http.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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_http.cpp: In function ‘void CL_FinishHTTPDownload()’: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_inventory.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/cl_inventory_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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] ===> CXX [testall] src/client/cl_irc.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_irc.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_language.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_main.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/cl_menu.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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] ===> CXX [testall] src/client/cl_screen.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_screen.cpp:36: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_team.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tip.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tutorials.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../shared/ufotypes.h:32, from src/client/cl_video.h:31, from src/client/cl_video.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/input/../../common/../shared/ufotypes.h:32, from src/client/input/../../common/common.h:28, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_input.cpp:41: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/input/../../common/../shared/ufotypes.h:32, from src/client/input/../../common/common.h:28, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_joystick.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/input/../../common/../shared/ufotypes.h:32, from src/client/input/../../common/common.h:28, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_keys.cpp:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_array.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_bsp.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_corona.cpp:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_draw.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_entity.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_flare.cpp:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_font.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_framebuffer.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_geoscape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_grass.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_image.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_light.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_lightmap.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/inttypes.h:25, from /usr/include/SDL2/SDL_opengl_glext.h:1409, 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/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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, 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 | /usr/include/SDL2/SDL_opengl_glext.h:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_material.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_matrix.cpp:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_mesh.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_mesh_anim.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_misc.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_brush.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_particle.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_program.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_sdl.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_sphere.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_state.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_surface.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_thread.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../common/../shared/ufotypes.h:32, from src/client/sound/../../common/common.h:28, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_main.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../common/../shared/ufotypes.h:32, from src/client/sound/../../common/common.h:28, from src/client/sound/../cl_shared.h:28, from src/client/sound/s_mix.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../common/../shared/ufotypes.h:32, from src/client/sound/../../common/common.h:28, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_mumble.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../shared/ufotypes.h:32, from src/client/sound/s_music.h:31, from src/client/sound/s_music.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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:27, 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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:40, from /usr/include/SDL2/SDL_mixer.h:25, from src/client/sound/s_local.h:30, from src/client/sound/s_sample.h:30, from src/client/sound/s_sample.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../shared/shared.h:54, from src/client/sound/s_local.h:31: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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] 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_abstractnode.h:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/client/ui/node/ui_node_abstractoption.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractoption.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractscrollable.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_abstractscrollbar.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_abstractvalue.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_bar.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_base.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_baseinventory.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_battlescape.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_button.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_checkbox.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_container.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_controls.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_data.cpp:33: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_editor.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_ekg.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_geoscape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_image.cpp:39: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_item.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_linechart.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../common/../shared/ufotypes.h:32, from src/client/ui/node/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_messagelist.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_model.cpp:30: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_option.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optionlist.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optiontree.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_panel.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_radar.h:27, from src/client/ui/node/ui_node_radar.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_radiobutton.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_rows.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_selectbox.cpp:46: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_sequence.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../common/../shared/ufotypes.h:32, from src/client/ui/node/../../../common/common.h:28, from src/client/ui/node/../../cl_shared.h:28, from src/client/ui/node/ui_node_special.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_spinner.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_string.cpp:47: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_tab.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_tbar.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text2.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textentry.cpp:32: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textlist.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_texture.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../common/../shared/ufotypes.h:32, from src/client/ui/node/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_todo.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_video.cpp:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_vscrollbar.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_window.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_zone.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_actions.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_behaviour.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../../../shared/mathlib.h:27, from src/client/ui/node/ui_node_window.h:27, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_components.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_data.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../../../shared/mathlib.h:27, from src/client/ui/node/ui_node_window.h:27, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_dragndrop.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_draw.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/ui_expression.h:27, from src/client/ui/ui_expression.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_font.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_input.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_main.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/bits/exception.h:38, from /usr/include/c++/12/typeinfo:34, from src/client/ui/ui_node.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_nodes.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/../client.h:31, from src/client/ui/ui_parse.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_popup.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_render.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sound.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sprite.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_timer.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_tooltip.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_windows.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/web/../../common/../shared/ufotypes.h:32, from src/client/web/../../common/common.h:28, from src/client/web/web_main.h:29, from src/client/web/web_cgame.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/web/../../common/../shared/ufotypes.h:32, from src/client/web/../../common/common.h:28, from src/client/web/web_main.h:29, from src/client/web/web_main.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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] 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/12/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/binaryexpressionparser.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/common/bsp.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/cmd.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/common/filesys.h:30, from src/common/cmd.h:34, from src/common/cmd.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/cmodel.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/common.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/cvar.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/dbuffer.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:894, from /usr/include/SDL2/SDL_stdinc.h:43, 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:71:35: note: ‘__builtin___snprintf_chk’ output between 14 and 269 bytes into a destination of size 64 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/common/grid.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/http.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/ioapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/common/ioapi.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/common/list.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/md4.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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] ===> CXX [testall] src/common/md5.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/mem.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/msg.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/net.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/netpack.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/pqueue.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/routing.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/scripts.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/sha1.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/sha2.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/tracing.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/common/unzip.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/include/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/common/xml.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/mxml.h:23, from src/common/xml.h:23, from src/common/xml.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_actor.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_ai.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_ai_lua.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_camera.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_client.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_cmds.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_combat.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_edicts.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_events.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_func.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_health.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_inventory.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_match.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_mission.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_morale.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_move.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_reaction.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_round.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_spawn.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_stats.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_svcmds.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_trigger.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_utils.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/g_vis.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/inv_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/inventory.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 | ^~~~~~~~~~~~~~~~~~ ===> CXX [testall] src/game/lua/lapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/assert.h:35, from src/game/lua/lapi.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lauxlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lauxlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lbaselib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lbaselib.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lcode.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/lcode.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ldblib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/game/lua/ldblib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ldebug.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ldo.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/setjmp.h:25, from src/game/lua/ldo.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ldump.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lfunc.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lgc.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/linit.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/liolib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/errno.h:25, from src/game/lua/liolib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/llex.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/llex.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lmathlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/lmathlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lmem.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/loadlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/loadlib.cpp:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lobject.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lobject.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lopcodes.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/loslib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/errno.h:25, from src/game/lua/loslib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lparser.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lstate.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lstring.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lstrlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lstrlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ltable.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cmath:41, from /usr/include/c++/12/math.h:36, from src/game/lua/ltable.cpp:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ltablib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/ltm.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lundump.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lvm.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/game/lua/lvm.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/lzio.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/lua/print.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/print.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/game/q_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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] ===> CC [testall] src/libs/mumble/libmumblelink.c "cc" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-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 -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/fcntl.h:25, from src/libs/mumble/libmumblelink.c:23: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/features.h:486: In function ‘mbstowcs’, inlined from ‘mumble_link’ at src/libs/mumble/libmumblelink.c:115:2: /usr/include/riscv64-linux-gnu/bits/stdlib.h:115:10: warning: call to ‘__mbstowcs_chk_warn’ declared with attribute warning: mbstowcs called with dst buffer smaller than len * sizeof (wchar_t) [-Wattribute-warning] 115 | return __glibc_fortify_n (mbstowcs, __len, sizeof (wchar_t), | ^~~~~~~~~~~~~~~~~ ===> CXX [testall] src/ports/unix/unix_console.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/ports/unix/unix_files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_files.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/ports/unix/unix_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_main.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/ports/unix/unix_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_shared.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_ccmds.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_game.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_init.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_log.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_mapcycle.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_rma.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_send.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_user.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/server/sv_world.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/shared/bfd.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/byte.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:40, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/entitiesdef.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/images.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/infostring.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/mathlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/mathlib_extra.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/mathlib_extra.h:40, from src/shared/mathlib_extra.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/shared/parse.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/stringhunk.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [testall] src/shared/utf8.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [testall] src/tests/test_all.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/tests/test_all.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_campaign.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_character.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_dbuffer.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_events.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_game.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_generic.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_inventory.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_mapdef.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_mathlibextra.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_parser.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_particles.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_renderer.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_rma.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_routing.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_scripts.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_shared.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_ui.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_ui_level2.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DLUA_USE_LINUX -DCOMPILE_UFO -DHARD_LINKED_GAME -DHARD_LINKED_CGAME -DCOMPILE_UNITTESTS -D_REENTRANT -I/usr/include/SDL2 -I/usr/include/riscv64-linux-gnu -Isrc/libs/mumble -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/string.h:26, from /usr/include/CUnit/CUnit.h:53, from /usr/include/CUnit/Basic.h:36, from src/tests/test_shared.h:27, from src/tests/test_webapi.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/shared/byte.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:40, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/common/files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/include/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/common/tracing.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/common/ioapi.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo2map] src/ports/unix/unix_files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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: 1s, #: 131072) CONNCHECK: 0...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|1.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-2...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|3.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\4...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/5...-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\6...|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-7...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|8.../-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-9...\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/-\|/ (time: 1s, #: 1048576) Writing maps/test_routing.bsp 3 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: 1s, #: 284) FINALLIGHT: 0...\1...|/2...-\3...|4.../-5...\|6.../7...-\8...|/9...- (time: 0s, #: 284) 1 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: 4 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: 1s, #: 1048576) Writing maps/test_game.bsp 2 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: 1s, #: 107) FINALLIGHT: 0...1...2...3...4...-5...\6...|7.../8...-9...\ (time: 0s, #: 107) 1 seconds elapsed writing maps/test_game.bsp sum: 3 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_console.cpp:30: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_http.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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_http.cpp: In function ‘void CL_FinishHTTPDownload()’: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_inventory.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/cl_inventory_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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] ===> CXX [ufo] src/client/cl_irc.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_irc.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_language.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_main.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/cl_menu.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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] ===> CXX [ufo] src/client/cl_screen.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_screen.cpp:36: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_team.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tip.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../common/../shared/ufotypes.h:32, from src/client/../common/common.h:28, from src/client/cl_shared.h:28, from src/client/client.h:31, from src/client/cl_tutorials.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/../common/../shared/shared.h:54, from src/client/../common/common.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/../shared/ufotypes.h:32, from src/client/cl_video.h:31, from src/client/cl_video.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/input/../../common/../shared/ufotypes.h:32, from src/client/input/../../common/common.h:28, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_input.cpp:41: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/input/../../common/../shared/ufotypes.h:32, from src/client/input/../../common/common.h:28, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_joystick.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/input/../../common/../shared/ufotypes.h:32, from src/client/input/../../common/common.h:28, from src/client/input/../cl_shared.h:28, from src/client/input/../client.h:31, from src/client/input/cl_keys.cpp:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/input/../../common/../shared/shared.h:54, from src/client/input/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/cl_cinematic.h:28, from src/client/cinematic/cl_cinematic.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/cl_cinematic_ogm.h:28, from src/client/cinematic/cl_cinematic_ogm.cpp:10: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/cl_cinematic_roq.h:28, from src/client/cinematic/cl_cinematic_roq.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cinematic/../../shared/ufotypes.h:32, from src/client/cinematic/../../shared/mathlib.h:27, from src/client/cinematic/cl_sequence.h:27, from src/client/cinematic/cl_sequence.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_actor.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_battlescape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_camera.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_hud_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_localentity.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_parse.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_particle.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_radar.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_spawn.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_ugv.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/../../common/../shared/ufotypes.h:32, from src/client/battlescape/../../common/common.h:28, from src/client/battlescape/../cl_shared.h:28, from src/client/battlescape/../client.h:31, from src/client/battlescape/cl_view.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/../../common/../shared/shared.h:54, from src/client/battlescape/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/battlescape/events/../../../common/../shared/shared.h:54, from src/client/battlescape/events/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/actor/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/actor/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/inventory/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/inventory/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/player/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/player/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/battlescape/events/event/world/../../../../../common/../shared/ufotypes.h:32, from src/client/battlescape/events/event/world/../../../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../common/../shared/ufotypes.h:32, from src/client/sound/../../common/common.h:28, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_main.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../common/../shared/ufotypes.h:32, from src/client/sound/../../common/common.h:28, from src/client/sound/../cl_shared.h:28, from src/client/sound/s_mix.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../common/../shared/ufotypes.h:32, from src/client/sound/../../common/common.h:28, from src/client/sound/../cl_shared.h:28, from src/client/sound/../client.h:31, from src/client/sound/s_mumble.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../common/../shared/shared.h:54, from src/client/sound/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/sound/../../shared/ufotypes.h:32, from src/client/sound/s_music.h:31, from src/client/sound/s_music.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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:27, 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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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:289:30: note: in definition of macro ‘SDL_SwapLE16’ 289 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:40, from /usr/include/SDL2/SDL_mixer.h:25, from src/client/sound/s_local.h:30, from src/client/sound/s_sample.h:30, from src/client/sound/s_sample.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/sound/../../shared/shared.h:54, from src/client/sound/s_local.h:31: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/../../common/../shared/ufotypes.h:32, from src/client/cgame/../../common/common.h:28, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/cl_game.h:28, from src/client/cgame/cl_game.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/../../common/../shared/ufotypes.h:32, from src/client/cgame/../../common/common.h:28, from src/client/cgame/../cl_shared.h:28, from src/client/cgame/../client.h:31, from src/client/cgame/cl_game_team.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/../../common/../shared/shared.h:54, from src/client/cgame/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/web/../../common/../shared/ufotypes.h:32, from src/client/web/../../common/common.h:28, from src/client/web/web_main.h:29, from src/client/web/web_cgame.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/web/../../common/../shared/ufotypes.h:32, from src/client/web/../../common/common.h:28, from src/client/web/web_main.h:29, from src/client/web/web_main.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/web/../../common/../shared/shared.h:54, from src/client/web/../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_actions.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_behaviour.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../../../shared/mathlib.h:27, from src/client/ui/node/ui_node_window.h:27, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_components.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_data.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../../../shared/mathlib.h:27, from src/client/ui/node/ui_node_window.h:27, from src/client/ui/ui_internal.h:35, from src/client/ui/ui_dragndrop.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/ui_node_abstractnode.h:27, from src/client/ui/node/ui_node_window.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_draw.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/ui_expression.h:27, from src/client/ui/ui_expression.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_font.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_input.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_main.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/bits/exception.h:38, from /usr/include/c++/12/typeinfo:34, from src/client/ui/ui_node.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_nodes.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/../client.h:31, from src/client/ui/ui_parse.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_popup.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_render.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sound.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_sprite.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_timer.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../common/../shared/ufotypes.h:32, from src/client/ui/../../common/common.h:28, from src/client/ui/../cl_shared.h:28, from src/client/ui/ui_tooltip.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../common/../shared/shared.h:54, from src/client/ui/../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/../../shared/ufotypes.h:32, from src/client/ui/ui_data.h:29, from src/client/ui/ui_main.h:27, from src/client/ui/ui_windows.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/../../shared/shared.h:54, from src/client/ui/ui_data.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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] 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_abstractnode.h:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/client/ui/node/ui_node_abstractoption.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractoption.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_abstractscrollable.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_abstractscrollbar.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_abstractvalue.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_bar.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_base.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_baseinventory.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_battlescape.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_button.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_checkbox.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_container.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_controls.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_data.cpp:33: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_editor.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_ekg.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_geoscape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_image.cpp:39: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_item.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_linechart.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../common/../shared/ufotypes.h:32, from src/client/ui/node/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_messagelist.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_model.cpp:30: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_option.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optionlist.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_optiontree.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_panel.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_radar.h:27, from src/client/ui/node/ui_node_radar.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_radiobutton.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/../ui_behaviour.h:27, from src/client/ui/node/ui_node_rows.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_selectbox.cpp:46: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_sequence.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../common/../shared/ufotypes.h:32, from src/client/ui/node/../../../common/common.h:28, from src/client/ui/node/../../cl_shared.h:28, from src/client/ui/node/ui_node_special.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_spinner.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_string.cpp:47: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_tab.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_tbar.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_text2.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textentry.cpp:32: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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/../../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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_textlist.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_texture.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../common/../shared/ufotypes.h:32, from src/client/ui/node/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../common/../shared/shared.h:54, from src/client/ui/node/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_todo.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_video.cpp:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_vscrollbar.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_data.h:29, from src/client/ui/node/../ui_main.h:27, from src/client/ui/node/ui_node_window.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/ui/node/../../../shared/shared.h:54, from src/client/ui/node/../ui_data.h: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_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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/ui/node/../../../shared/ufotypes.h:32, from src/client/ui/node/../ui_nodes.h:27, from src/client/ui/node/ui_node_zone.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_array.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_bsp.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_corona.cpp:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_draw.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_entity.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_flare.cpp:22: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_font.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_framebuffer.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_geoscape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_grass.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_image.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_light.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_lightmap.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/inttypes.h:25, from /usr/include/SDL2/SDL_opengl_glext.h:1409, 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/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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, 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 | /usr/include/SDL2/SDL_opengl_glext.h:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_material.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_matrix.cpp:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_mesh.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_mesh_anim.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_misc.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_brush.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_particle.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_program.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_sdl.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_sphere.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_state.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_surface.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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_thread.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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] 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/12/include/stdint.h:9, from src/common/../shared/ufotypes.h:32, from src/common/common.h:28, from src/common/binaryexpressionparser.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/common/cmd.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/common/filesys.h:30, from src/common/cmd.h:34, from src/common/cmd.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/http.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/ioapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/common/ioapi.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/common/unzip.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/include/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/common/bsp.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/grid.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/cmodel.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/common.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/cvar.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:894, from /usr/include/SDL2/SDL_stdinc.h:43, 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:71:35: note: ‘__builtin___snprintf_chk’ output between 14 and 269 bytes into a destination of size 64 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/common/list.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/md4.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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] ===> CXX [ufo] src/common/md5.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/mem.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/msg.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/net.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/netpack.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/dbuffer.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/pqueue.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/scripts.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/sha1.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/sha2.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/tracing.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/routing.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/common/xml.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from /usr/include/mxml.h:23, from src/common/xml.h:23, from src/common/xml.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_game.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_init.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_log.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_mapcycle.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_rma.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_send.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_user.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/server/sv_world.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/byte.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/sys/types.h:25, from /usr/include/SDL2/SDL_stdinc.h:40, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/mathlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/mathlib_extra.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/shared/ufotypes.h:32, from src/shared/mathlib_extra.h:40, from src/shared/mathlib_extra.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/shared/aabb.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/shared/utf8.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufo] src/shared/images.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/stringhunk.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/infostring.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/parse.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/shared/shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/q_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/chr_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/inv_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/inventory.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 | ^~~~~~~~~~~~~~~~~~ ===> CC [ufo] src/libs/mumble/libmumblelink.c "cc" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-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 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/fcntl.h:25, from src/libs/mumble/libmumblelink.c:23: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from /usr/include/features.h:486: In function ‘mbstowcs’, inlined from ‘mumble_link’ at src/libs/mumble/libmumblelink.c:115:2: /usr/include/riscv64-linux-gnu/bits/stdlib.h:115:10: warning: call to ‘__mbstowcs_chk_warn’ declared with attribute warning: mbstowcs called with dst buffer smaller than len * sizeof (wchar_t) [-Wattribute-warning] 115 | return __glibc_fortify_n (mbstowcs, __len, sizeof (wchar_t), | ^~~~~~~~~~~~~~~~~ ===> CXX [ufo] src/ports/linux/linux_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/fcntl.h:25, from src/ports/linux/linux_main.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/ports/unix/unix_console.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/ports/unix/unix_files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_files.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/ports/unix/unix_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_shared.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/ports/unix/unix_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/unistd.h:25, from src/ports/unix/unix_main.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_actor.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_ai.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_ai_lua.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_camera.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_client.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_cmds.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_combat.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_edicts.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_events.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_func.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_health.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_inventory.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_main.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_match.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_mission.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_morale.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_move.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_reaction.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_round.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_spawn.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_stats.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_svcmds.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_trigger.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_utils.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/g_vis.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/assert.h:35, from src/game/lua/lapi.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lauxlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lauxlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lbaselib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lbaselib.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lcode.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/lcode.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ldblib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/game/lua/ldblib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ldebug.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ldo.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/setjmp.h:25, from src/game/lua/ldo.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ldump.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lfunc.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lgc.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/linit.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/liolib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/errno.h:25, from src/game/lua/liolib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/llex.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/llex.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lmathlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/lmathlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lmem.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/loadlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/loadlib.cpp:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lobject.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lobject.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lopcodes.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/loslib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/errno.h:25, from src/game/lua/loslib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lparser.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lstate.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lstring.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lstrlib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/lstrlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ltable.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cmath:41, from /usr/include/c++/12/math.h:36, from src/game/lua/ltable.cpp:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ltablib.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/ltm.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lundump.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lvm.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/bits/libc-header-start.h:33, from /usr/include/stdio.h:27, from src/game/lua/lvm.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/lzio.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/game/lua/print.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/ctype.h:25, from src/game/lua/print.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 [ufo] src/client/cgame/campaign/aliencargo.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, 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: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cl_game_campaign.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft.cpp:29: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aircraft_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_airfight.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alien_interest.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_alienbase.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_aliencont_callbacks.cpp:32: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_auto_mission.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_base_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_basedefence_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 In file included from /usr/include/riscv64-linux-gnu/c++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/client/cgame/campaign/../../../shared/../../config.h:3, from src/client/cgame/campaign/../../../shared/shared.h:32, from src/client/cgame/campaign/cp_building.h:27, from src/client/cgame/campaign/cp_building.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../shared/shared.h:54: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_campaign.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_capacity.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_cgame_callbacks.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_employee_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_event_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_fightequip_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_geoscape.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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: src/client/cgame/campaign/../../../common/../shared/vector.h: In function ‘void GEO_CenterOnPoint_f()’: src/client/cgame/campaign/../../../common/../shared/vector.h:61:52: warning: ‘pos[1]’ may be used uninitialized [-Wmaybe-uninitialized] 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[1]’ was declared here 1135 | vec2_t pos; | ^~~ src/client/cgame/campaign/../../../common/../shared/vector.h:61:40: warning: ‘pos[0]’ may be used uninitialized [-Wmaybe-uninitialized] 61 | #define Vector2Set(v, x, y) ((v)[0]=(x), (v)[1]=(y)) | ^ src/client/cgame/campaign/cp_geoscape.cpp:1135:16: note: ‘pos[0]’ was declared here 1135 | vec2_t pos; | ^~~ ===> CXX [ufo] src/client/cgame/campaign/cp_hospital.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_hospital_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_installation_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mapfightequip.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_market_callbacks.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messageoptions_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_messages.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_callbacks.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_mission_triggers.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_missions.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_nation.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_overlay.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_parse.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_popup.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_produce_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_radar.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_rank.cpp:24: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research.cpp:31: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_research_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_save.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_statistics.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_team_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_time.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_transfer_callbacks.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufo.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_ufopedia.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_uforecovery_callbacks.cpp:27: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/../../../common/common.h:28, from src/client/cgame/campaign/../../cl_shared.h:28, from src/client/cgame/campaign/cp_xvi.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/../../../common/../shared/shared.h:54, from src/client/cgame/campaign/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_baseattack.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_buildbase.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_harvest.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_intercept.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_recon.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_rescue.cpp:25: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_supply.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_terror.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_ufocarrier.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/campaign/missions/../../../../common/../shared/ufotypes.h:32, from src/client/cgame/campaign/missions/../../../../common/common.h:28, from src/client/cgame/campaign/missions/../../../cl_shared.h:28, from src/client/cgame/campaign/missions/cp_mission_xvi.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/campaign/missions/../../../../common/../shared/shared.h:54, from src/client/cgame/campaign/missions/../../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/skirmish/../../../common/../shared/ufotypes.h:32, from src/client/cgame/skirmish/../../../common/common.h:28, from src/client/cgame/skirmish/../../cl_shared.h:28, from src/client/cgame/skirmish/cl_game_skirmish.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/skirmish/../../../common/../shared/shared.h:54, from src/client/cgame/skirmish/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/multiplayer/../../../common/../shared/ufotypes.h:32, from src/client/cgame/multiplayer/../../../common/common.h:28, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/cl_game_multiplayer.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/multiplayer/../../../common/../shared/ufotypes.h:32, from src/client/cgame/multiplayer/../../../common/common.h:28, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_callbacks.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -D_REENTRANT -I/usr/include/SDL2 -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 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/12/include/stdint.h:9, from src/client/cgame/multiplayer/../../../common/../shared/ufotypes.h:32, from src/client/cgame/multiplayer/../../../common/common.h:28, from src/client/cgame/multiplayer/../../cl_shared.h:28, from src/client/cgame/multiplayer/mp_serverlist.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ In file included from src/client/cgame/multiplayer/../../../common/../shared/shared.h:54, from src/client/cgame/multiplayer/../../../common/common.h:30: 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 `.L0 ': ./src/game/lua/loslib.cpp:60: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/common/filesys.h:30, from src/common/cmd.h:34, from src/common/cmd.cpp:34: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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/ioapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/common/ioapi.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/common/unzip.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/include/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/common/bsp.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:894, from /usr/include/SDL2/SDL_stdinc.h:43, 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:71:35: note: ‘__builtin___snprintf_chk’ output between 14 and 269 bytes into a destination of size 64 71 | return __builtin___snprintf_chk (__s, __n, __USE_FORTIFY_LEVEL - 1, | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 72 | __glibc_objsize (__s), __fmt, | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 73 | __va_arg_pack ()); | ~~~~~~~~~~~~~~~~~ ===> CXX [ufoded] src/common/list.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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] ===> CXX [ufoded] src/common/md5.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:40, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/shared/parse.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoded] src/game/q_shared.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/lcode.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/game/lua/ldblib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/lmathlib.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/stdlib.h:36, from src/game/lua/loadlib.cpp:12: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cmath:41, from /usr/include/c++/12/math.h:36, from src/game/lua/ltable.cpp:21: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/game/lua/lvm.cpp:8: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_UFO -DDEDICATED_ONLY -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 `.L0 ': ./src/game/lua/loslib.cpp:60: 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/include/stdint.h:9, from src/tools/ufomodel/../../shared/ufotypes.h:32, from src/tools/ufomodel/ufomodel.cpp:26: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/shared/byte.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:40, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/common/files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/include/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/common/ioapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/common/ioapi.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufomodel] src/client/renderer/r_model.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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:290:30: note: in definition of macro ‘SDL_SwapLE32’ 290 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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:2368: note: this is the location of the previous definition 2368 | #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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:40, from /usr/include/SDL2/SDL_main.h:25, from src/tools/ufoslicer.cpp:7: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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: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; | ^~~~~~~~~~~~~~ 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; | ^~~~~~~~~~~~~~ ===> CXX [ufoslicer] src/common/files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/include/limits.h:203, from /usr/lib/gcc/riscv64-linux-gnu/12/include/syslimits.h:7, from /usr/lib/gcc/riscv64-linux-gnu/12/include/limits.h:34, from /usr/include/zconf.h:418, from /usr/include/zlib.h:34, from src/common/unzip.h:57, from src/common/unzip.cpp:37: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/common/ioapi.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:27, from src/common/ioapi.cpp:9: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/tools/ufo2map/common/bspfile.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/shared/byte.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:40, from /usr/include/SDL2/SDL_endian.h:31, from src/shared/byte.h:30, from src/shared/byte.cpp:28: /usr/include/features.h:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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++/12/bits/os_defines.h:39, from /usr/include/riscv64-linux-gnu/c++/12/bits/c++config.h:655, from /usr/include/c++/12/cstdlib:41, from /usr/include/c++/12/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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" | ^~~~~~~ ===> CXX [ufoslicer] src/ports/unix/unix_files.cpp "c++" -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -DHAVE_CONFIG_H -g -Winline -Wcast-qual -Wcast-align -Wmissing-declarations -Wpointer-arith -Wno-long-long -pedantic -Wall -Wextra -Wno-sign-compare -Wno-unused-parameter -Wreturn-type -Wwrite-strings -Wno-variadic-macros -Wno-format-zero-length -DNDEBUG -DSHARED_EXT=\"so\" -D_GNU_SOURCE -D_BSD_SOURCE -D_XOPEN_SOURCE -ffast-math -funroll-loops -D_FORTIFY_SOURCE=2 -DNDEBUG -g -O2 -ffile-prefix-map=/<>=. -fstack-protector-strong -Wformat -Werror=format-security -Wnon-virtual-dtor -DCOMPILE_MAP -D_REENTRANT -I/usr/include/SDL2 -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:194:3: warning: #warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcpp] 194 | # 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/ufo/client/renderer' 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/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/ufo2map' 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/ufoded/common' 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 'src/client' 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/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 'src/tools/radiant/radiant' 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 'radiant/prefabs/misc' 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 '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/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/ufo2map/common' 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 'release-linux-riscv64/testall/shared' 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 'unittest' 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/shared' 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 'release-linux-riscv64/ufoslicer/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/common' 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 'unittest/maps' 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/ufo/client/cinematic' 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/testall/client/cinematic' 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/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 'src/game' 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 'src/tools/radiant/libs' 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/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/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/vegetation' 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/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 'base/ufos/ui' 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 '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 'base/ufos/msgid' 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 '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 '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/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 '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 'radiant/prefabs/trucks' 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 '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 '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 '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 '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 '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 '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.22 (TeX Live 2022/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./ufo-manual_EN.tex LaTeX2e <2021-11-15> patch level 1 L3 programming layer <2022-01-21> 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 2021/11/13 v3.35 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/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.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/generic/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/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty) (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.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/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/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] [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, 920002 bytes). Transcript written on ufo-manual_EN.log. pdflatex ufo-manual_EN.tex This is pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian) (preloaded format=pdflatex) restricted \write18 enabled. entering extended mode (./ufo-manual_EN.tex LaTeX2e <2021-11-15> patch level 1 L3 programming layer <2022-01-21> 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 2021/11/13 v3.35 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/ltxcmds/ltxcmds.sty) (/usr/share/texlive/texmf-dist/tex/generic/iftex/iftex.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/generic/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/latex/hycolor/hycolor.sty) (/usr/share/texlive/texmf-dist/tex/latex/letltxmacro/letltxmacro.sty) (/usr/share/texlive/texmf-dist/tex/latex/auxhook/auxhook.sty) (/usr/share/texlive/texmf-dist/tex/latex/kvoptions/kvoptions.sty) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/pd1enc.def) (/usr/share/texlive/texmf-dist/tex/latex/hyperref/hyperref-langpatches.def) (/usr/share/texlive/texmf-dist/tex/generic/intcalc/intcalc.sty) (/usr/share/texlive/texmf-dist/tex/generic/etexcmds/etexcmds.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/hyperref/nameref.sty (/usr/share/texlive/texmf-dist/tex/latex/refcount/refcount.sty) (/usr/share/texlive/texmf-dist/tex/generic/gettitlestring/gettitlestring.sty)) (./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, 926340 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/medals.ufo (deflated 74%) adding: ufos/fonts.ufo (deflated 72%) adding: ufos/nations.ufo (deflated 65%) adding: ufos/version.ufo (stored 0%) adding: ufos/skins.ufo (deflated 50%) adding: ufos/team_aliens.ufo (deflated 86%) adding: ufos/team_civilians.ufo (deflated 95%) adding: ufos/ptl_weaponsfx.ufo (deflated 85%) adding: ufos/weapons_plasma.ufo (deflated 87%) adding: ufos/cities.ufo (deflated 69%) adding: ufos/weapons_multiplayer.ufo (deflated 81%) adding: ufos/research_logic.ufo (deflated 75%) adding: ufos/components.ufo (deflated 78%) adding: ufos/team_templates.ufo (deflated 73%) adding: ufos/sprites_tmp.ufo (deflated 77%) adding: ufos/language.ufo (deflated 73%) adding: ufos/team_humans.ufo (deflated 86%) adding: ufos/tips.ufo (deflated 58%) adding: ufos/gamemodes.ufo (deflated 67%) adding: ufos/models.ufo (deflated 83%) adding: ufos/terrain.ufo (deflated 93%) adding: ufos/events.ufo (deflated 72%) adding: ufos/weapons_particle.ufo (deflated 81%) adding: ufos/research.ufo (deflated 88%) adding: ufos/seq_tutorials.ufo (deflated 83%) adding: ufos/entities.ufo (deflated 76%) adding: ufos/equipment.ufo (deflated 79%) adding: ufos/armour.ufo (deflated 74%) adding: ufos/music.ufo (deflated 62%) adding: ufos/team_names.ufo (deflated 65%) adding: ufos/otheritems.ufo (deflated 75%) adding: ufos/campaign.ufo (deflated 85%) adding: ufos/seq_intro.ufo (deflated 77%) adding: ufos/seq_credits.ufo (deflated 80%) adding: ufos/sprites_tiled.ufo (deflated 85%) adding: ufos/ptl_weather.ufo (deflated 69%) adding: ufos/gametypes.ufo (deflated 87%) adding: ufos/aircraftmanagement.ufo (deflated 80%) adding: ufos/weapons_melee.ufo (deflated 81%) adding: ufos/msgoptions.ufo (deflated 78%) adding: ufos/seq_modelview.ufo (deflated 57%) adding: ufos/weapons_aliens.ufo (deflated 81%) adding: ufos/maps.ufo (deflated 88%) adding: ufos/weapons_implants.ufo (deflated 57%) adding: ufos/weapons.ufo (deflated 87%) adding: ufos/weapons_human.ufo (deflated 90%) adding: ufos/weapons_ugv.ufo (deflated 71%) adding: ufos/ui/ (stored 0%) adding: ufos/ui/irc.ufo (deflated 70%) adding: ufos/ui/market.ufo (deflated 75%) adding: ufos/ui/sys_popup.ufo (deflated 77%) adding: ufos/ui/radar.ufo (deflated 21%) adding: ufos/ui/popup_capacity.ufo (deflated 64%) adding: ufos/ui/_interface.ufo (deflated 40%) adding: ufos/ui/ufopedia.ufo (deflated 81%) adding: ufos/ui/hire.ufo (deflated 77%) adding: ufos/ui/aircraft.ufo (deflated 70%) adding: ufos/ui/aircraft_equip.ufo (deflated 79%) adding: ufos/ui/_menu.ufo (deflated 73%) adding: ufos/ui/sequence.ufo (deflated 53%) adding: ufos/ui/hospital.ufo (deflated 72%) adding: ufos/ui/multiplayeringame.ufo (deflated 56%) adding: ufos/ui/basesummary.ufo (deflated 68%) adding: ufos/ui/transfer.ufo (deflated 77%) adding: ufos/ui/messageoptions.ufo (deflated 73%) adding: ufos/ui/popup_installations.ufo (deflated 82%) adding: ufos/ui/geoscape.ufo (deflated 80%) adding: ufos/ui/aircraft_soldiers.ufo (deflated 71%) adding: ufos/ui/main.ufo (deflated 68%) adding: ufos/ui/hud_.ufo (deflated 75%) adding: ufos/ui/modeltest.ufo (deflated 41%) adding: ufos/ui/production.ufo (deflated 79%) adding: ufos/ui/lostwon.ufo (deflated 78%) adding: ufos/ui/research.ufo (deflated 74%) adding: ufos/ui/hud_genradar.ufo (deflated 71%) adding: ufos/ui/equipment.ufo (deflated 76%) adding: ufos/ui/stats.ufo (deflated 79%) adding: ufos/ui/material_editor.ufo (deflated 84%) adding: ufos/ui/aliencont.ufo (deflated 74%) adding: ufos/ui/campaign.ufo (deflated 79%) adding: ufos/ui/physdat.ufo (deflated 74%) adding: ufos/ui/singleplayer.ufo (deflated 68%) adding: ufos/ui/_objectinfo.ufo (deflated 75%) adding: ufos/ui/mailclient.ufo (deflated 65%) adding: ufos/ui/aircraft_pilots.ufo (deflated 64%) adding: ufos/ui/aircraft_info.ufo (deflated 75%) adding: ufos/ui/hud_phone.ufo (deflated 79%) adding: ufos/ui/sys_editor.ufo (deflated 73%) adding: ufos/ui/missionbriefing.ufo (deflated 58%) adding: ufos/ui/popup_baseattack.ufo (deflated 74%) adding: ufos/ui/skirmish.ufo (deflated 72%) adding: ufos/ui/hud_default.ufo (deflated 79%) adding: ufos/ui/intro.ufo (deflated 55%) adding: ufos/ui/buildings.ufo (deflated 63%) adding: ufos/ui/multiplayer.ufo (deflated 78%) adding: ufos/ui/cgame.ufo (deflated 66%) adding: ufos/ui/basedefence.ufo (deflated 77%) adding: ufos/ui/team.ufo (deflated 76%) adding: ufos/ui/tutorials.ufo (deflated 52%) adding: ufos/ui/options.ufo (deflated 77%) adding: ufos/ui/inventory.ufo (deflated 73%) adding: ufos/ui/bases.ufo (deflated 72%) adding: ufos/ui/hud_nohud.ufo (deflated 41%) adding: ufos/ui/web.ufo (deflated 64%) adding: ufos/ptl_misc.ufo (deflated 82%) adding: ufos/installation.ufo (deflated 61%) adding: ufos/alientype_missions.ufo (deflated 83%) adding: ufos/basemanagement.ufo (deflated 73%) adding: ufos/msgid/ (stored 0%) adding: ufos/msgid/irc.ufo (deflated 43%) adding: ufos/msgid/ugvs.ufo (deflated 76%) adding: ufos/msgid/aircraft.ufo (deflated 64%) adding: ufos/msgid/campaigntexts.ufo (deflated 52%) adding: ufos/msgid/mails.ufo (deflated 53%) adding: ufos/msgid/installations.ufo (deflated 59%) adding: ufos/msgid/tips.ufo (deflated 52%) adding: ufos/msgid/armour.ufo (deflated 59%) adding: ufos/msgid/campaigns.ufo (deflated 63%) adding: ufos/msgid/aircraftitems.ufo (deflated 68%) adding: ufos/msgid/concepts.ufo (deflated 60%) adding: ufos/msgid/news.ufo (deflated 60%) adding: ufos/msgid/weapons.ufo (deflated 70%) adding: ufos/msgid/missionbriefing.ufo (deflated 56%) adding: ufos/msgid/buildings.ufo (deflated 66%) adding: ufos/msgid/skills.ufo (deflated 73%) adding: ufos/msgid/aliens.ufo (deflated 77%) adding: ufos/msgid/story.ufo (deflated 64%) adding: ufos/researched_list.ufo (deflated 75%) adding: ufos/implants.ufo (deflated 47%) adding: ufos/weapons_laser.ufo (deflated 80%) adding: ufos/icons.ufo (deflated 84%) adding: ufos/equipment_missions.ufo (deflated 77%) adding: ufos/inventory.ufo (deflated 61%) adding: ufos/ptl_explosions.ufo (deflated 82%) 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 -j8 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/ufo/client/renderer' 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/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/ufo2map' 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/ufoded/common' 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 'src/client' 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/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 'src/tools/radiant/radiant' 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 'radiant/prefabs/misc' 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/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/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/ufo2map/common' 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' 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/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 '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/ufo2map/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/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/common' 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 'unittest/maps' 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/ufo/client/cinematic' 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/testall/client/cinematic' 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/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 'src/game' 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 'src/tools/radiant/libs' 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/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/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/vegetation' 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/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 'base/ufos/ui' 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 '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 'base/ufos/msgid' 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 '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 '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/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 '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 'radiant/prefabs/trucks' 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 '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 '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 '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/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 '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 '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 '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: 0models.pk3 not found or empty zip warning: 0snd.pk3 not found or 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: name not matched: 0pics.pk3 zip warning: zip file empty zip warning: 0media.pk3 not found or empty adding: media/languages.ttf (deflated 38%) zip warning: zip file empty zip warning: 0materials.pk3 not found or empty zip warning: name not matched: materials/*.mat zip warning: zip file empty 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 zip warning: zip file empty src/po/ufoai-cs.po src/po/ufoai-da.po src/po/ufoai-de.po src/po/ufoai-el.po zip warning: zip file empty src/po/ufoai-en.po src/po/ufoai-es.po src/po/ufoai-es_ES.po src/po/ufoai-bg_BG.po:2: warning: header field 'Language' still has the initial default value 1975 translated messages, 691 fuzzy translations, 269 untranslated messages. src/po/ufoai-et.po 2935 translated messages. src/po/ufoai-fi.po 2881 translated messages, 45 fuzzy translations, 9 untranslated messages. src/po/ufoai-fr.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. 2931 translated messages, 4 fuzzy translations. src/po/ufoai-cs.po:9: warning: header field 'Language' still has the initial default value src/po/ufoai-hu.po 1830 translated messages, 771 fuzzy translations, 334 untranslated messages. src/po/ufoai-it.po src/po/ufoai-ja.po 2365 translated messages, 379 fuzzy translations, 191 untranslated messages. src/po/ufoai-ko.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-nl_NL.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-no.po 2861 translated messages, 57 fuzzy translations, 17 untranslated messages. src/po/ufoai-pl.po 1772 translated messages, 220 fuzzy translations, 943 untranslated messages. src/po/ufoai-pt.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. src/po/ufoai-pt_BR.po 2567 translated messages, 297 fuzzy translations, 71 untranslated messages. src/po/ufoai-ru.po src/po/ufoai-ja.po:2: warning: header field 'Language' still has the initial default value 686 translated messages, 958 fuzzy translations, 1291 untranslated messages. src/po/ufoai-sl.po 2304 translated messages, 383 fuzzy translations, 248 untranslated messages. src/po/ufoai-sv.po 2163 translated messages, 567 fuzzy translations, 205 untranslated messages. src/po/ufoai-th.po 2762 translated messages, 173 untranslated messages. src/po/ufoai-tr.po 2757 translated messages, 82 fuzzy translations, 96 untranslated messages. src/po/ufoai-pt_BR.po:2: warning: header field 'Language' still has the initial default value src/po/ufoai-uk.po 935 translated messages, 1230 fuzzy translations, 770 untranslated messages. src/po/ufoai-zh_CN.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-zh_TW.po 2233 translated messages, 360 fuzzy translations, 342 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/uforadiant-ru.po 1525 translated messages, 938 fuzzy translations, 472 untranslated messages. src/po/uforadiant-zh_CN.po 2934 translated messages. 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/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:2: warning: header field 'Language' still has the initial default value 1792 translated messages, 783 fuzzy translations, 360 untranslated messages. 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. Install memory src/po/uforadiant-ru.po:2: warning: header field 'Language' missing in header 174 translated messages, 3 fuzzy translations, 297 untranslated messages. 2934 translated messages. src/po/uforadiant-zh_CN.po:2: warning: header field 'Language' missing in header Install testall 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.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_0x1f21 9e53bf576cff101714eff3494cc93edc61dca79b a4de7fda6f480f57f291373745c920c96571f0bc debugedit: debian/ufoai-tools/usr/bin/ufomodel: Unknown DWARF DW_FORM_0x1f20 7025445330ca6cfa34a836e74e468dc4a7cee0f7 a173d3e98d84f807d3140eeefd4638d5b46c87b8 debugedit: debian/ufoai-tools/usr/bin/ufo2map: Unknown DWARF DW_FORM_0x1f21 9f804d09f7eb4d04ca9d0dff8adecda82ad3b481 dh_makeshlibs -a dh_shlibdeps -a dh_installdeb -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 INFO: pkgstriptranslations version 149 pkgstriptranslations: processing ufoai-tools (in debian/ufoai-tools); do_strip: , oemstrip: pkgstriptranslations: processing ufoai-server (in debian/ufoai-server); do_strip: , oemstrip: pkgstriptranslations: processing ufoai (in debian/ufoai); do_strip: , oemstrip: pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " pkgstripfiles: processing control file: debian/ufoai-tools/DEBIAN/control, package ufoai-tools, directory debian/ufoai-tools INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... pkgstripfiles: processing control file: debian/ufoai-server/DEBIAN/control, package ufoai-server, directory debian/ufoai-server INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... debian/ufoai/usr/share/applications/ufoai.desktop: does not have gettext domain, not stripping INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... pkgmaintainermangler: Maintainer field overridden to "Ubuntu Developers " INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... INFO: pkgstripfiles: waiting for lock (ufoai-server) ... INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... 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-6_riscv64.deb'. INFO: pkgstripfiles: waiting for lock (ufoai-tools) ... pkgstripfiles: Skipping PNG optimization for package in games section. dpkg-deb: building package 'ufoai-server' in '../ufoai-server_2.5-6_riscv64.deb'. pkgstripfiles: Running PNG optimization (using 8 cpus) for package ufoai-tools ... pkgstripfiles: No PNG files. dpkg-deb: building package 'ufoai-tools' in '../ufoai-tools_2.5-6_riscv64.deb'. dpkg-genbuildinfo --build=any -O../ufoai_2.5-6_riscv64.buildinfo dpkg-genchanges --build=any -mLaunchpad Build Daemon -O../ufoai_2.5-6_riscv64.changes dpkg-genchanges: info: binary-only arch-specific upload (source code and arch-indep packages not included) dpkg-source --after-build . dpkg-buildpackage.pl: info: binary-only upload (no source included) === USAGE-SUMMARY BEGIN === SUMMARY: host: riscv64-qemu-lcy01-012; CPUs: 8/8; CPU avg: 13%; CPU max: 100%; base memory: 0.3 GB; peak memory: 0.6 GB; total memory: 15.6 GB SUMMARY: swap peak/total: 0.0/0.0 GB; disk start/end/total: 7.9/8.3/68.4 GB; disk delta: 0.4 GB === USAGE-SUMMARY END === -------------------------------------------------------------------------------- Build finished at 2022-04-22T20:22:20Z Finished -------- I: Built successfully +------------------------------------------------------------------------------+ | Changes | +------------------------------------------------------------------------------+ ufoai_2.5-6_riscv64.changes: ---------------------------- Format: 1.8 Date: Sat, 14 Nov 2020 20:31:35 +0100 Source: ufoai Binary: ufoai ufoai-server ufoai-tools Built-For-Profiles: noudeb Architecture: riscv64 Version: 2.5-6 Distribution: jammy Urgency: medium Maintainer: Launchpad Build Daemon Changed-By: Markus Koschany 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 Closes: 885685 947664 967786 Changes: ufoai (2.5-6) unstable; urgency=medium . * Switch to debhelper-compat = 13. * Drop the map editor uforadiant because it depends on deprecated GTK 2 libraries which will be removed from Debian. (Closes: #885685, #967786, #947664) Checksums-Sha1: 469aee67f5fd0d9885f1f9c2e5279385cdba5ca2 450104 ufoai-server_2.5-6_riscv64.deb 60f8425dae76a1e9f220ef88063b0399da24a3ee 260324 ufoai-tools_2.5-6_riscv64.deb 6e1cf26d4eb1ed15b77a40fe96025b24e864953b 14141 ufoai_2.5-6_riscv64.buildinfo c6e419647875b46b917a1f2d6bef487b428ba1d9 1222452 ufoai_2.5-6_riscv64.deb Checksums-Sha256: 6ed4845a92677c31bb7a942c7bcafdf6c4a537eaf9e06e5eb16bbdf91cc179cf 450104 ufoai-server_2.5-6_riscv64.deb 3b6d1daa8fcb16f0271351d4123ab0ec3b1e4e5cd62eca2096c37334cfb43a55 260324 ufoai-tools_2.5-6_riscv64.deb e6d58b0def3ccaf8da3ddd5ee231f5d272d680d1fb56a566655bdd6c0f4a5ebd 14141 ufoai_2.5-6_riscv64.buildinfo 344bd8e479e59832f3a5a8b6e1add9fea37a8d636eb65accf10038c0e2c00241 1222452 ufoai_2.5-6_riscv64.deb Files: c80f43039755da7e71cb77d2044205bf 450104 games optional ufoai-server_2.5-6_riscv64.deb b7c1d57bf5ce84d111fbfcf6abd03161 260324 graphics optional ufoai-tools_2.5-6_riscv64.deb be2c10e3bd6325431b21b79f4b9a8f0f 14141 games optional ufoai_2.5-6_riscv64.buildinfo f7078e65d16477b89edc22639ddac184 1222452 games optional ufoai_2.5-6_riscv64.deb /<>/ufoai_2.5-6_riscv64.changes.new could not be renamed to /<>/ufoai_2.5-6_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-6 Checksums-Md5: c80f43039755da7e71cb77d2044205bf 450104 ufoai-server_2.5-6_riscv64.deb b7c1d57bf5ce84d111fbfcf6abd03161 260324 ufoai-tools_2.5-6_riscv64.deb f7078e65d16477b89edc22639ddac184 1222452 ufoai_2.5-6_riscv64.deb Checksums-Sha1: 469aee67f5fd0d9885f1f9c2e5279385cdba5ca2 450104 ufoai-server_2.5-6_riscv64.deb 60f8425dae76a1e9f220ef88063b0399da24a3ee 260324 ufoai-tools_2.5-6_riscv64.deb c6e419647875b46b917a1f2d6bef487b428ba1d9 1222452 ufoai_2.5-6_riscv64.deb Checksums-Sha256: 6ed4845a92677c31bb7a942c7bcafdf6c4a537eaf9e06e5eb16bbdf91cc179cf 450104 ufoai-server_2.5-6_riscv64.deb 3b6d1daa8fcb16f0271351d4123ab0ec3b1e4e5cd62eca2096c37334cfb43a55 260324 ufoai-tools_2.5-6_riscv64.deb 344bd8e479e59832f3a5a8b6e1add9fea37a8d636eb65accf10038c0e2c00241 1222452 ufoai_2.5-6_riscv64.deb Build-Origin: Ubuntu Build-Architecture: riscv64 Build-Date: Fri, 22 Apr 2022 20:22:11 +0000 Build-Path: /<> Build-Tainted-By: merged-usr-via-aliased-dirs usr-local-has-programs Installed-Build-Depends: autoconf (= 2.71-2), automake (= 1:1.16.5-1.3), autopoint (= 0.21-4ubuntu4), autotools-dev (= 20220109.1), base-files (= 12ubuntu4), base-passwd (= 3.5.52build1), bash (= 5.1-6ubuntu1), bash-completion (= 1:2.11-5ubuntu1), binutils (= 2.38-3ubuntu1), binutils-common (= 2.38-3ubuntu1), binutils-riscv64-linux-gnu (= 2.38-3ubuntu1), bsdextrautils (= 2.37.2-4ubuntu3), bsdutils (= 1:2.37.2-4ubuntu3), build-essential (= 12.9ubuntu3), bzip2 (= 1.0.8-5build1), coreutils (= 8.32-4.1ubuntu1), cpp (= 4:12-20211211-1ubuntu2), cpp-11 (= 11.2.0-19ubuntu1), cpp-12 (= 12-20220319-1ubuntu1), dash (= 0.5.11+git20210903+057cd650a4ed-3build1), debconf (= 1.5.79ubuntu1), debhelper (= 13.6ubuntu1), debianutils (= 5.5-1ubuntu2), debugedit (= 1:5.0-4build1), dh-autoreconf (= 20), dh-strip-nondeterminism (= 1.13.0-1), diffutils (= 1:3.8-0ubuntu2), dpkg (= 1.21.1ubuntu11), dpkg-dev (= 1.21.1ubuntu11), dwz (= 0.14-1build2), file (= 1:5.41-3), findutils (= 4.8.0-1ubuntu3), fontconfig-config (= 2.13.1-4.2ubuntu5), fonts-dejavu-core (= 2.37-2build1), fonts-lmodern (= 2.004.5-6.1), g++ (= 4:12-20211211-1ubuntu2), g++-12 (= 12-20220319-1ubuntu1), gcc (= 4:12-20211211-1ubuntu2), gcc-11 (= 11.2.0-19ubuntu1), gcc-11-base (= 11.2.0-19ubuntu1), gcc-12 (= 12-20220319-1ubuntu1), gcc-12-base (= 12-20220319-1ubuntu1), gettext (= 0.21-4ubuntu4), gettext-base (= 0.21-4ubuntu4), gir1.2-glib-2.0 (= 1.72.0-1), gir1.2-ibus-1.0 (= 1.5.26-4), grep (= 3.7-1build1), groff-base (= 1.22.4-8build1), gzip (= 1.10-4ubuntu4), hostname (= 3.23ubuntu2), icu-devtools (= 70.1-2), init-system-helpers (= 1.62), intltool-debian (= 0.35.0+20060710.5), libacl1 (= 2.3.1-1), libapache-pom-java (= 18-1), libapparmor1 (= 3.0.4-2ubuntu2), libarchive-zip-perl (= 1.68-1), libasan6 (= 11.2.0-19ubuntu1), libasan8 (= 12-20220319-1ubuntu1), libasound2 (= 1.2.6.1-1ubuntu1), libasound2-data (= 1.2.6.1-1ubuntu1), libasound2-dev (= 1.2.6.1-1ubuntu1), libasyncns0 (= 0.8-6build2), libatomic1 (= 12-20220319-1ubuntu1), libattr1 (= 1:2.5.1-1build1), libaudit-common (= 1:3.0.7-1build1), libaudit1 (= 1:3.0.7-1build1), libbinutils (= 2.38-3ubuntu1), libblkid-dev (= 2.37.2-4ubuntu3), libblkid1 (= 2.37.2-4ubuntu3), libbrotli1 (= 1.0.9-2build6), libbsd0 (= 0.11.5-1), libbz2-1.0 (= 1.0.8-5build1), libc-bin (= 2.35-0ubuntu3), libc-dev-bin (= 2.35-0ubuntu3), libc6 (= 2.35-0ubuntu3), libc6-dev (= 2.35-0ubuntu3), libcairo2 (= 1.16.0-5ubuntu2), libcap-ng0 (= 0.7.9-2.2build3), libcap2 (= 1:2.44-1build3), libcc1-0 (= 12-20220319-1ubuntu1), libcom-err2 (= 1.46.5-2ubuntu1), libcommons-logging-java (= 1.2-2), libcommons-parent-java (= 43-1), libcrypt-dev (= 1:4.4.27-1), libcrypt1 (= 1:4.4.27-1), libctf-nobfd0 (= 2.38-3ubuntu1), libctf0 (= 2.38-3ubuntu1), libcunit1 (= 2.1-3-dfsg-2.4), libcunit1-dev (= 2.1-3-dfsg-2.4), libcurl3-gnutls (= 7.81.0-1), libcurl4-gnutls-dev (= 7.81.0-1), libdb5.3 (= 5.3.28+dfsg1-0.8ubuntu3), libdbus-1-3 (= 1.12.20-2ubuntu4), libdbus-1-dev (= 1.12.20-2ubuntu4), libdebconfclient0 (= 0.261ubuntu1), libdebhelper-perl (= 13.6ubuntu1), libdecor-0-0 (= 0.1.0-3build1), libdpkg-perl (= 1.21.1ubuntu11), libdrm-common (= 2.4.110-1ubuntu1), libdrm-nouveau2 (= 2.4.110-1ubuntu1), libdrm-radeon1 (= 2.4.110-1ubuntu1), libdrm2 (= 2.4.110-1ubuntu1), libdw1 (= 0.186-1build1), libegl-dev (= 1.4.0-1), libegl-mesa0 (= 22.0.1-1ubuntu2), libegl1 (= 1.4.0-1), libegl1-mesa-dev (= 22.0.1-1ubuntu2), libelf1 (= 0.186-1build1), libexpat1 (= 2.4.7-1), libffi-dev (= 3.4.2-4), libffi8 (= 3.4.2-4), libfile-stripnondeterminism-perl (= 1.13.0-1), libflac8 (= 1.3.3-2build2), libfluidsynth3 (= 2.2.5-1), libfontbox-java (= 1:1.8.16-2), libfontconfig1 (= 2.13.1-4.2ubuntu5), libfreetype6 (= 2.11.1+dfsg-1build1), libgbm1 (= 22.0.1-1ubuntu2), libgcc-11-dev (= 11.2.0-19ubuntu1), libgcc-12-dev (= 12-20220319-1ubuntu1), libgcc-s1 (= 12-20220319-1ubuntu1), libgcrypt20 (= 1.9.4-3ubuntu3), libgdbm-compat4 (= 1.23-1), libgdbm6 (= 1.23-1), libgirepository-1.0-1 (= 1.72.0-1), libgl-dev (= 1.4.0-1), libgl1 (= 1.4.0-1), libgl1-mesa-dri (= 22.0.1-1ubuntu2), libglapi-mesa (= 22.0.1-1ubuntu2), libgles-dev (= 1.4.0-1), libgles1 (= 1.4.0-1), libgles2 (= 1.4.0-1), libglib2.0-0 (= 2.72.1-1), libglib2.0-bin (= 2.72.1-1), libglib2.0-data (= 2.72.1-1), libglib2.0-dev (= 2.72.1-1), libglib2.0-dev-bin (= 2.72.1-1), libglu1-mesa (= 9.0.2-1), libglu1-mesa-dev (= 9.0.2-1), libglvnd-core-dev (= 1.4.0-1), libglvnd-dev (= 1.4.0-1), libglvnd0 (= 1.4.0-1), libglx-dev (= 1.4.0-1), libglx-mesa0 (= 22.0.1-1ubuntu2), libglx0 (= 1.4.0-1), libgmp10 (= 2:6.2.1+dfsg-3ubuntu1), libgnutls30 (= 3.7.3-4ubuntu1), libgomp1 (= 12-20220319-1ubuntu1), libgpg-error0 (= 1.43-3), libgraphite2-3 (= 1.3.14-1build2), libgssapi-krb5-2 (= 1.19.2-2), libharfbuzz0b (= 2.7.4-1ubuntu3), libhogweed6 (= 3.7.3-1build2), libibus-1.0-5 (= 1.5.26-4), libibus-1.0-dev (= 1.5.26-4), libice-dev (= 2:1.0.10-1build2), libice6 (= 2:1.0.10-1build2), libicu-dev (= 70.1-2), libicu70 (= 70.1-2), libidn2-0 (= 2.3.2-2build1), libinstpatch-1.0-2 (= 1.1.6-1), libisl23 (= 0.24-2build1), libjack-jackd2-0 (= 1.9.20~dfsg-1), libjpeg-dev (= 8c-2ubuntu10), libjpeg-turbo8 (= 2.1.2-0ubuntu1), libjpeg-turbo8-dev (= 2.1.2-0ubuntu1), libjpeg8 (= 8c-2ubuntu10), libjpeg8-dev (= 8c-2ubuntu10), libk5crypto3 (= 1.19.2-2), libkeyutils1 (= 1.6.1-2ubuntu3), libkpathsea6 (= 2021.20210626.59705-1build1), libkrb5-3 (= 1.19.2-2), libkrb5support0 (= 1.19.2-2), libldap-2.5-0 (= 2.5.11+dfsg-1~exp1ubuntu3), liblz4-1 (= 1.9.3-2build2), liblzma5 (= 5.2.5-2ubuntu1), libmagic-mgc (= 1:5.41-3), libmagic1 (= 1:5.41-3), libmd0 (= 1.0.4-1build1), libmodplug1 (= 1:0.8.9.0-3), libmount-dev (= 2.37.2-4ubuntu3), libmount1 (= 2.37.2-4ubuntu3), libmpc3 (= 1.2.1-2build1), libmpdec3 (= 2.5.1-2build2), libmpfr6 (= 4.1.0-3build3), libmpg123-0 (= 1.29.3-1build1), libmxml-dev (= 3.3-1), libmxml1 (= 3.3-1), libncursesw6 (= 6.3-2), libnettle8 (= 3.7.3-1build2), libnghttp2-14 (= 1.43.0-1build3), libnsl-dev (= 1.3.0-2build2), libnsl2 (= 1.3.0-2build2), libogg-dev (= 1.3.5-0ubuntu3), libogg0 (= 1.3.5-0ubuntu3), libopenal-data (= 1:1.19.1-2build3), libopenal-dev (= 1:1.19.1-2build3), libopenal1 (= 1:1.19.1-2build3), libopengl-dev (= 1.4.0-1), libopengl0 (= 1.4.0-1), libopus0 (= 1.3.1-0.1build2), libopusfile0 (= 0.9+20170913-1.1build1), libp11-kit0 (= 0.24.0-6build1), libpam-modules (= 1.4.0-11ubuntu2), libpam-modules-bin (= 1.4.0-11ubuntu2), libpam-runtime (= 1.4.0-11ubuntu2), libpam0g (= 1.4.0-11ubuntu2), libpaper-utils (= 1.1.28build2), libpaper1 (= 1.1.28build2), libpcre16-3 (= 2:8.39-13build5), libpcre2-16-0 (= 10.39-3build1), libpcre2-32-0 (= 10.39-3build1), libpcre2-8-0 (= 10.39-3build1), libpcre2-dev (= 10.39-3build1), libpcre2-posix3 (= 10.39-3build1), libpcre3 (= 2:8.39-13build5), libpcre3-dev (= 2:8.39-13build5), libpcre32-3 (= 2:8.39-13build5), libpcrecpp0v5 (= 2:8.39-13build5), libpdfbox-java (= 1:1.8.16-2), libperl5.34 (= 5.34.0-3ubuntu1), libpipeline1 (= 1.5.5-1), libpixman-1-0 (= 0.40.0-1build4), libpng-dev (= 1.6.37-3build5), libpng16-16 (= 1.6.37-3build5), libpsl5 (= 0.21.0-1.2build2), libptexenc1 (= 2021.20210626.59705-1build1), libpthread-stubs0-dev (= 0.4-1build2), libpulse-dev (= 1:15.99.1+dfsg1-1ubuntu1), libpulse-mainloop-glib0 (= 1:15.99.1+dfsg1-1ubuntu1), libpulse0 (= 1:15.99.1+dfsg1-1ubuntu1), libpython3-stdlib (= 3.10.4-0ubuntu2), libpython3.10-minimal (= 3.10.4-3), libpython3.10-stdlib (= 3.10.4-3), libreadline8 (= 8.1.2-1), librtmp1 (= 2.4+20151223.gitfa8646d.1-2build4), libsamplerate0 (= 0.2.2-1build1), libsasl2-2 (= 2.1.27+dfsg2-3ubuntu1), libsasl2-modules-db (= 2.1.27+dfsg2-3ubuntu1), libsdl2-2.0-0 (= 2.0.20+dfsg-2build1), libsdl2-dev (= 2.0.20+dfsg-2build1), libsdl2-mixer-2.0-0 (= 2.0.4+dfsg1-4build1), libsdl2-mixer-dev (= 2.0.4+dfsg1-4build1), libsdl2-ttf-2.0-0 (= 2.0.18+dfsg-2), libsdl2-ttf-dev (= 2.0.18+dfsg-2), libselinux1 (= 3.3-1build2), libselinux1-dev (= 3.3-1build2), libsensors-config (= 1:3.6.0-7ubuntu1), libsensors5 (= 1:3.6.0-7ubuntu1), libsepol-dev (= 3.3-1build1), libsepol2 (= 3.3-1build1), libsigsegv2 (= 2.13-1ubuntu3), libsm-dev (= 2:1.2.3-1build2), libsm6 (= 2:1.2.3-1build2), libsmartcols1 (= 2.37.2-4ubuntu3), libsndfile1 (= 1.0.31-2build1), libsndio-dev (= 1.8.1-1.1), libsndio7.0 (= 1.8.1-1.1), libsqlite3-0 (= 3.37.2-2), libssh-4 (= 0.9.6-2build1), libssl3 (= 3.0.2-0ubuntu1), libstdc++-12-dev (= 12-20220319-1ubuntu1), libstdc++6 (= 12-20220319-1ubuntu1), libsub-override-perl (= 0.09-2), libsynctex2 (= 2021.20210626.59705-1build1), libsystemd0 (= 249.11-0ubuntu3), libtasn1-6 (= 4.18.0-4build1), libteckit0 (= 2.5.11+ds1-1), libtexlua53 (= 2021.20210626.59705-1build1), libtheora-dev (= 1.1.1+dfsg.1-15ubuntu4), libtheora0 (= 1.1.1+dfsg.1-15ubuntu4), libtinfo6 (= 6.3-2), libtirpc-common (= 1.3.2-2build1), libtirpc-dev (= 1.3.2-2build1), libtirpc3 (= 1.3.2-2build1), libtool (= 2.4.6-15build2), libuchardet0 (= 0.0.7-1build2), libudev-dev (= 249.11-0ubuntu3), libudev1 (= 249.11-0ubuntu3), libunistring2 (= 1.0-1), libuuid1 (= 2.37.2-4ubuntu3), libvorbis-dev (= 1.3.7-1build2), libvorbis0a (= 1.3.7-1build2), libvorbisenc2 (= 1.3.7-1build2), libvorbisfile3 (= 1.3.7-1build2), libvulkan1 (= 1.3.204.1-2), libwayland-bin (= 1.20.0-1), libwayland-client0 (= 1.20.0-1), libwayland-cursor0 (= 1.20.0-1), libwayland-dev (= 1.20.0-1), libwayland-egl1 (= 1.20.0-1), libwayland-server0 (= 1.20.0-1), libx11-6 (= 2:1.7.5-1), libx11-data (= 2:1.7.5-1), libx11-dev (= 2:1.7.5-1), libx11-xcb1 (= 2:1.7.5-1), libxau-dev (= 1:1.0.9-1build5), libxau6 (= 1:1.0.9-1build5), libxaw7 (= 2:1.0.14-1), libxcb-dri2-0 (= 1.14-3ubuntu3), libxcb-dri3-0 (= 1.14-3ubuntu3), libxcb-glx0 (= 1.14-3ubuntu3), libxcb-present0 (= 1.14-3ubuntu3), libxcb-render0 (= 1.14-3ubuntu3), libxcb-shm0 (= 1.14-3ubuntu3), libxcb-sync1 (= 1.14-3ubuntu3), libxcb-xfixes0 (= 1.14-3ubuntu3), libxcb1 (= 1.14-3ubuntu3), libxcb1-dev (= 1.14-3ubuntu3), libxcursor-dev (= 1:1.2.0-2build4), libxcursor1 (= 1:1.2.0-2build4), libxdmcp-dev (= 1:1.1.3-0ubuntu5), libxdmcp6 (= 1:1.1.3-0ubuntu5), libxext-dev (= 2:1.3.4-1build1), libxext6 (= 2:1.3.4-1build1), libxfixes-dev (= 1:6.0.0-1), libxfixes3 (= 1:6.0.0-1), libxi-dev (= 2:1.8-1build1), libxi6 (= 2:1.8-1build1), libxinerama-dev (= 2:1.1.4-3), libxinerama1 (= 2:1.1.4-3), libxkbcommon-dev (= 1.4.0-1), libxkbcommon0 (= 1.4.0-1), libxml2 (= 2.9.13+dfsg-1build1), libxml2-dev (= 2.9.13+dfsg-1build1), libxmu6 (= 2:1.1.3-3), libxpm4 (= 1:3.5.12-1build2), libxrandr-dev (= 2:1.5.2-1build1), libxrandr2 (= 2:1.5.2-1build1), libxrender-dev (= 1:0.9.10-1build4), libxrender1 (= 1:0.9.10-1build4), libxshmfence1 (= 1.3-1build4), libxss-dev (= 1:1.2.3-1build2), libxss1 (= 1:1.2.3-1build2), libxt-dev (= 1:1.2.1-1), libxt6 (= 1:1.2.1-1), libxv-dev (= 2:1.0.11-1build2), libxv1 (= 2:1.0.11-1build2), libxvidcore-dev (= 2:1.3.7-1), libxvidcore4 (= 2:1.3.7-1), libxxf86vm-dev (= 1:1.1.4-1build3), libxxf86vm1 (= 1:1.1.4-1build3), libzstd1 (= 1.4.8+dfsg-3build1), libzzip-0-13 (= 0.13.72+dfsg.1-1.1), linux-libc-dev (= 5.15.0-25.25), login (= 1:4.8.1-2ubuntu2), lsb-base (= 11.1.0ubuntu4), lto-disabled-list (= 24), m4 (= 1.4.18-5ubuntu2), make (= 4.3-4.1build1), man-db (= 2.10.2-1), mawk (= 1.3.4.20200120-3), media-types (= 7.0.0), ncurses-base (= 6.3-2), ncurses-bin (= 6.3-2), patch (= 2.7.6-7build2), perl (= 5.34.0-3ubuntu1), perl-base (= 5.34.0-3ubuntu1), perl-modules-5.34 (= 5.34.0-3ubuntu1), pkg-config (= 0.29.2-1ubuntu3), po-debconf (= 1.0.21+nmu1), preview-latex-style (= 12.2-1ubuntu1), python3 (= 3.10.4-0ubuntu2), python3-distutils (= 3.10.4-0ubuntu1), python3-lib2to3 (= 3.10.4-0ubuntu1), python3-minimal (= 3.10.4-0ubuntu2), python3-psutil (= 5.9.0-1build1), python3.10 (= 3.10.4-3), python3.10-minimal (= 3.10.4-3), readline-common (= 8.1.2-1), rpcsvc-proto (= 1.4.2-0ubuntu6), sed (= 4.8-1ubuntu2), sensible-utils (= 0.0.17), sysvinit-utils (= 3.01-1ubuntu1), t1utils (= 1.41-4build2), tar (= 1.34+dfsg-1build3), tex-common (= 6.17), texlive-base (= 2021.20220204-1), texlive-binaries (= 2021.20210626.59705-1build1), texlive-latex-base (= 2021.20220204-1), texlive-latex-extra (= 2021.20220204-1), texlive-latex-recommended (= 2021.20220204-1), texlive-pictures (= 2021.20220204-1), timgm6mb-soundfont (= 1.3-5), ucf (= 3.0043), util-linux (= 2.37.2-4ubuntu3), uuid-dev (= 2.37.2-4ubuntu3), x11-common (= 1:7.7+23ubuntu2), x11proto-dev (= 2021.5-1), xdg-utils (= 1.1.3-4.1ubuntu1), xkb-data (= 2.33-1), xorg-sgml-doctools (= 1:1.11-1.1), xtrans-dev (= 1.4.0-1), xz-utils (= 5.2.5-2ubuntu1), zip (= 3.0-12build2), zlib1g (= 1:1.2.11.dfsg-2ubuntu9), zlib1g-dev (= 1:1.2.11.dfsg-2ubuntu9) Environment: DEB_BUILD_OPTIONS="noautodbgsym nocheck parallel=8" DEB_BUILD_PROFILES="noudeb" LANG="C.UTF-8" LC_ALL="C.UTF-8" SOURCE_DATE_EPOCH="1605382295" +------------------------------------------------------------------------------+ | Package contents | +------------------------------------------------------------------------------+ ufoai-server_2.5-6_riscv64.deb ------------------------------ new Debian package, version 2.0. size 450104 bytes: control archive=1904 bytes. 29 bytes, 1 lines conffiles 922 bytes, 19 lines control 566 bytes, 8 lines md5sums 1937 bytes, 55 lines * postinst #!/bin/sh 801 bytes, 30 lines * postrm #!/bin/sh 261 bytes, 7 lines * prerm #!/bin/sh Package: ufoai-server Source: ufoai Version: 2.5-6 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Debian Games Team Installed-Size: 791 Depends: adduser, ufoai-common (>= 2.5-6), ufoai-maps, libc6 (>= 2.34), libcurl3-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: http://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. drwxr-xr-x root/root 0 2020-11-14 19:31 ./ drwxr-xr-x root/root 0 2020-11-14 19:31 ./etc/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./etc/ufoai-server/ -rw-r--r-- root/root 228 2020-11-14 18:54 ./etc/ufoai-server/server.cfg drwxr-xr-x root/root 0 2020-11-14 19:31 ./lib/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./lib/systemd/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./lib/systemd/system/ -rw-r--r-- root/root 314 2020-11-14 18:54 ./lib/systemd/system/ufoai-server.service drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/games/ -rwxr-xr-x root/root 975 2020-11-14 18:54 ./usr/games/ufoai-server drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/lib/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/lib/ufoai-server/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/lib/ufoai-server/base/ lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/lib/ufoai-server/base/0base.pk3 -> ../../../share/games/ufoai/base/0base.pk3 lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/lib/ufoai-server/base/0maps.pk3 -> ../../../share/games/ufoai/base/0maps.pk3 lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/lib/ufoai-server/base/0ufos.pk3 -> ../../../share/games/ufoai/base/0ufos.pk3 lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/lib/ufoai-server/base/debian_server.cfg -> /etc/ufoai-server/server.cfg -rwxr-xr-x root/root 763048 2020-11-14 19:31 ./usr/lib/ufoai-server/ufoded drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/doc/ufoai-server/ -rw-r--r-- root/root 2019 2020-11-14 18:54 ./usr/share/doc/ufoai-server/README.Debian -rw-r--r-- root/root 731 2020-11-14 19:31 ./usr/share/doc/ufoai-server/changelog.Debian.gz -rw-r--r-- root/root 9090 2020-11-14 19:31 ./usr/share/doc/ufoai-server/copyright drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/lintian/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/lintian/overrides/ -rw-r--r-- root/root 159 2020-11-14 18:54 ./usr/share/lintian/overrides/ufoai-server drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/man/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/man/man6/ -rw-r--r-- root/root 584 2020-11-14 19:31 ./usr/share/man/man6/ufoai-server.6.gz ufoai-tools_2.5-6_riscv64.deb ----------------------------- new Debian package, version 2.0. size 260324 bytes: control archive=991 bytes. 876 bytes, 22 lines control 665 bytes, 10 lines md5sums Package: ufoai-tools Source: ufoai Version: 2.5-6 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Debian Games Team Installed-Size: 556 Depends: libc6 (>= 2.34), libgcc-s1 (>= 3.0), libjpeg8 (>= 8c), libpng16-16 (>= 1.6.2-1), libsdl2-2.0-0 (>= 2.0.12), libstdc++6 (>= 5), zlib1g (>= 1:1.1.4) Suggests: bash-completion, ufoai Section: graphics Priority: optional Homepage: http://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 drwxr-xr-x root/root 0 2020-11-14 19:31 ./ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/bin/ -rwxr-xr-x root/root 298848 2020-11-14 19:31 ./usr/bin/ufo2map -rwxr-xr-x root/root 142912 2020-11-14 19:31 ./usr/bin/ufomodel -rwxr-xr-x root/root 97872 2020-11-14 19:31 ./usr/bin/ufoslicer drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/bash-completion/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./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 2020-11-14 19:31 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/doc/ufoai-tools/ -rw-r--r-- root/root 731 2020-11-14 19:31 ./usr/share/doc/ufoai-tools/changelog.Debian.gz -rw-r--r-- root/root 9090 2020-11-14 19:31 ./usr/share/doc/ufoai-tools/copyright drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/man/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/man/man1/ -rw-r--r-- root/root 2193 2020-11-14 19:31 ./usr/share/man/man1/ufo2map.1.gz -rw-r--r-- root/root 549 2020-11-14 19:31 ./usr/share/man/man1/ufomodel.1.gz -rw-r--r-- root/root 498 2020-11-14 19:31 ./usr/share/man/man1/ufoslicer.1.gz ufoai_2.5-6_riscv64.deb ----------------------- new Debian package, version 2.0. size 1222452 bytes: control archive=1668 bytes. 2530 bytes, 40 lines control 375 bytes, 6 lines md5sums Package: ufoai Version: 2.5-6 Architecture: riscv64 Maintainer: Ubuntu Developers Original-Maintainer: Debian Games Team Installed-Size: 2269 Depends: fonts-dejavu, ufoai-common (>= 2.5-6), ufoai-data, ufoai-maps, ufoai-misc (>= 2.5-6), ufoai-sound, ufoai-textures, libc6 (>= 2.34), libcurl3-gnutls (>= 7.16.2), libgcc-s1 (>= 3.0), libgl1, libjpeg8 (>= 8c), libmxml1 (>= 3.3), libogg0 (>= 1.0rc3), libpng16-16 (>= 1.6.2-1), libsdl2-2.0-0 (>= 2.0.12), libsdl2-mixer-2.0-0 (>= 2.0.2), 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: http://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. drwxr-xr-x root/root 0 2020-11-14 19:31 ./ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/games/ -rwxr-xr-x root/root 1070 2020-11-14 18:54 ./usr/games/ufoai drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/lib/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/lib/ufoai/ lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/lib/ufoai/base -> ../../share/games/ufoai/base -rwxr-xr-x root/root 2289664 2020-11-14 19:31 ./usr/lib/ufoai/ufo drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/applications/ -rw-r--r-- root/root 365 2020-11-14 18:54 ./usr/share/applications/ufoai.desktop drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/doc/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/doc/ufoai/ -rw-r--r-- root/root 731 2020-11-14 19:31 ./usr/share/doc/ufoai/changelog.Debian.gz -rw-r--r-- root/root 9090 2020-11-14 19:31 ./usr/share/doc/ufoai/copyright lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/share/doc/ufoai/ufo-manual_EN.pdf -> ../ufoai-misc/ufo-manual_EN.pdf drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/games/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/games/ufoai/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/games/ufoai/base/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/games/ufoai/base/media/ lrwxrwxrwx root/root 0 2020-11-14 19:31 ./usr/share/games/ufoai/base/media/DejaVuSans.ttf -> ../../../../fonts/truetype/dejavu/DejaVuSans.ttf drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/man/ drwxr-xr-x root/root 0 2020-11-14 19:31 ./usr/share/man/man6/ -rw-r--r-- root/root 909 2020-11-14 19:31 ./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: 492120 Build-Time: 15900 Distribution: jammy Host Architecture: riscv64 Install-Time: 1026 Job: ufoai_2.5-6.dsc Machine Architecture: riscv64 Package: ufoai Package-Time: 16975 Source-Version: 2.5-6 Space: 492120 Status: successful Version: 2.5-6 -------------------------------------------------------------------------------- Finished at 2022-04-22T20:22:20Z Build needed 04:42:55, 492120k disk space Adding user buildd to group lxd RUN: /usr/share/launchpad-buildd/bin/in-target scan-for-processes --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 Scanning for processes to kill in build PACKAGEBUILD-23472504 RUN: /usr/share/launchpad-buildd/bin/in-target umount-chroot --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 Stopping target for build PACKAGEBUILD-23472504 RUN: /usr/share/launchpad-buildd/bin/in-target remove-build --backend=chroot --series=jammy --arch=riscv64 PACKAGEBUILD-23472504 Removing build PACKAGEBUILD-23472504